->data was getting leaked, as _tidyup() only free()s data for nodes of type

CHAR.


SVN revision: 6508
This commit is contained in:
Tom Gilbert 2002-12-22 15:47:26 +00:00
parent 69b5426e19
commit 945f1ac75b
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ IFunctionParam *__imlib_script_parse_parameters( Imlib_Image im, char *parameter
rootptr = malloc( sizeof( IFunctionParam ) );
rootptr->key = strdup( "NO-KEY" );
rootptr->type = 0;
rootptr->type = VAR_CHAR;
rootptr->data = strdup( "NO-VALUE" );
rootptr->next = NULL;
ptr = rootptr;