1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r4738: Fix for bug #2238 - memory leak in shadow copy vfs.

Jeremy.
This commit is contained in:
Jeremy Allison 2005-01-14 20:23:22 +00:00 committed by Gerald (Jerry) Carter
parent 4b351f2fcc
commit fb7f1aff7c

View File

@ -137,6 +137,7 @@ int shadow_copy_closedir(vfs_handle_struct *handle, connection_struct *conn, DIR
{
shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp;
SAFE_FREE(dirp->dirs);
SAFE_FREE(dirp);
return 0;