Commit c8f1ef47 authored by Gaurav Pruthi's avatar Gaurav Pruthi Committed by Jean-Baptiste Kempf

access/zip:patch for memory leak in zipstream.c #8726

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4b726052
......@@ -717,7 +717,9 @@ static node* findOrCreateParentNode( node *root, const char *fullpath )
if( !strcmp( current->name, folder ) )
{
/* We found the folder, go recursively deeper */
return findOrCreateParentNode( current, sep );
node *parentNode = findOrCreateParentNode( current, sep );
free( path );
return parentNode;
}
current = current->next;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment