(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:
parent
75943674cb
commit
967ff7d06f
|
@ -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")) {
|
||||
|
|
Loading…
Reference in New Issue