(OPENZAP-6) misplaced assert

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@558 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris 2008-09-16 17:28:15 +00:00
parent 75943674cb
commit 967ff7d06f
1 changed files with 1 additions and 1 deletions

View File

@ -96,8 +96,8 @@ static ZIO_SIG_CONFIGURE_FUNCTION(zap_analog_configure_span)
}
analog_data = malloc(sizeof(*analog_data));
memset(analog_data, 0, sizeof(*analog_data));
assert(analog_data != NULL);
memset(analog_data, 0, sizeof(*analog_data));
while ((var = va_arg(ap, char *))) {
if (!strcasecmp(var, "tonemap")) {