From 622480b64b32154c81441d19cf1e701d278bb9a8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 14 Jan 2005 20:23:22 +0000 Subject: r4738: Fix for bug #2238 - memory leak in shadow copy vfs. Jeremy. (This used to be commit fb7f1aff7c96e4672641f80b74a058abf25d0d6d) --- source3/modules/vfs_shadow_copy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/modules/vfs_shadow_copy.c b/source3/modules/vfs_shadow_copy.c index 133e8e9c64..513f33b3cb 100644 --- a/source3/modules/vfs_shadow_copy.c +++ b/source3/modules/vfs_shadow_copy.c @@ -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; -- cgit