1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-15 02:50:27 +03:00
Jones Syue 29c08b5891 s3:utils: smbget fix a memory leak
Using smbget to download files recursively (-R).

If smbget found that a file is already existed in the destination,
smbget would said 'File exists', return early, and 'newname' allocated
memory is never freed, this is found by valgrind.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15403

Signed-off-by: Jones Syue <jonessyue@qnap.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Jun 28 07:02:34 UTC 2023 on atb-devel-224

(cherry picked from commit afbed653526b572f7309e67ed742a76ef7b2b8ec)
2023-07-03 07:57:08 +00:00
..
2020-04-18 04:12:48 +00:00
2022-08-26 07:59:32 +00:00
2020-04-18 04:12:48 +00:00
2021-08-06 17:22:30 +00:00
2018-12-20 23:40:23 +01:00
2020-11-10 19:49:35 +00:00
2021-04-21 20:51:31 +00:00
2021-10-04 10:43:37 +00:00
2021-12-10 14:02:30 +00:00
2023-07-03 07:57:08 +00:00
2021-03-16 17:09:32 +00:00
2022-08-12 21:50:23 +00:00