| Index: patches/17_fix_leak_in_libmtp_release_device.patch
|
| ===================================================================
|
| --- patches/17_fix_leak_in_libmtp_release_device.patch (revision 0)
|
| +++ patches/17_fix_leak_in_libmtp_release_device.patch (revision 0)
|
| @@ -0,0 +1,12 @@
|
| +Index: src/libmtp.c
|
| +===================================================================
|
| +--- src/libmtp.c (revision 178530)
|
| ++++ src/libmtp.c (working copy)
|
| +@@ -2357,6 +2357,7 @@
|
| + iconv_close(params->cd_ucs2_to_locale);
|
| + free(ptp_usb);
|
| + ptp_free_params(params);
|
| ++ free(params);
|
| + free_storage_list(device);
|
| + // Free extension list...
|
| + if (device->extensions != NULL) {
|
|
|