->data was getting leaked, as _tidyup() only free()s data for nodes of type
CHAR. SVN revision: 6508
This commit is contained in:
parent
69b5426e19
commit
945f1ac75b
|
@ -119,7 +119,7 @@ IFunctionParam *__imlib_script_parse_parameters( Imlib_Image im, char *parameter
|
||||||
|
|
||||||
rootptr = malloc( sizeof( IFunctionParam ) );
|
rootptr = malloc( sizeof( IFunctionParam ) );
|
||||||
rootptr->key = strdup( "NO-KEY" );
|
rootptr->key = strdup( "NO-KEY" );
|
||||||
rootptr->type = 0;
|
rootptr->type = VAR_CHAR;
|
||||||
rootptr->data = strdup( "NO-VALUE" );
|
rootptr->data = strdup( "NO-VALUE" );
|
||||||
rootptr->next = NULL;
|
rootptr->next = NULL;
|
||||||
ptr = rootptr;
|
ptr = rootptr;
|
||||||
|
|
Loading…
Reference in New Issue