diff options
author | Rajesh Joseph <rjoseph@redhat.com> | 2016-07-21 09:58:43 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-07-28 10:06:13 +0200 |
commit | 17a6a78e4cc1e1fc2b20006ca7104a72a7e3341c (patch) | |
tree | ef10b8c4e3abcfb85e6df87a5e74d33c10dd0edf /WHATSNEW.txt | |
parent | 57518cf0d2960fa5ebe7b882a7cd5e6326ee72f7 (diff) | |
download | samba-17a6a78e4cc1e1fc2b20006ca7104a72a7e3341c.tar.gz |
shadow_copy2: Fix error handling in shadow_copy2_get_shadow_copy_data
Memory was freed in most of the failure cases. It is always better
to free the memory at the end of the function so that all exit path
of the function will free the memory. Otherwise chances are that
you might miss some cleanup.
Signed-off-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'WHATSNEW.txt')
0 files changed, 0 insertions, 0 deletions