diff options
Diffstat (limited to 'source3/modules/vfs_shadow_copy.c')
-rw-r--r-- | source3/modules/vfs_shadow_copy.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |