Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: patches/17_fix_leak_in_libmtp_release_device.patch

Issue 12047095: Fix a leak in libmtp's LIBMTP_Release_Device(). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libmtp/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/libmtp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Index: src/libmtp.c
2 ===================================================================
3 --- src/libmtp.c (revision 178530)
4 +++ src/libmtp.c (working copy)
5 @@ -2357,6 +2357,7 @@
6 iconv_close(params->cd_ucs2_to_locale);
7 free(ptp_usb);
8 ptp_free_params(params);
9 + free(params);
10 free_storage_list(device);
11 // Free extension list...
12 if (device->extensions != NULL) {
OLDNEW
« no previous file with comments | « no previous file | src/libmtp.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698