1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00
Jones Syue afbed65352 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
2023-06-28 07:02:34 +00:00
..
2020-04-18 04:12:48 +00:00
2023-06-16 16:14:30 +00:00
2023-02-06 22:51:32 +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
2023-05-18 01:03:37 +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-06-28 07:02:34 +00:00
2021-03-16 17:09:32 +00:00
2022-08-12 21:50:23 +00:00
2023-06-13 23:33:39 +00:00