From 7a3ec49d46ff77f528a7f67fcb95a724ba2a58d9 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Fri, 5 Jan 2007 20:09:27 +0000 Subject: [PATCH] remove unnecessary patch (closes #1142) SVN-Revision: 5999 --- libs/libgphoto2/patches/030-memleaks.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 libs/libgphoto2/patches/030-memleaks.patch diff --git a/libs/libgphoto2/patches/030-memleaks.patch b/libs/libgphoto2/patches/030-memleaks.patch deleted file mode 100644 index 41db92e60..000000000 --- a/libs/libgphoto2/patches/030-memleaks.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ruN libgphoto2-2.2.1-old/camlibs/ptp2/library.c libgphoto2-2.2.1-new/camlibs/ptp2/library.c ---- libgphoto2-2.2.1-old/camlibs/ptp2/library.c 2006-06-16 07:08:21.000000000 +0200 -+++ libgphoto2-2.2.1-new/camlibs/ptp2/library.c 2006-12-17 16:15:03.000000000 +0100 -@@ -1242,6 +1242,9 @@ - ret = gp_filesystem_set_file_noop(camera->fs, path->folder, file, context); - if (ret != GP_OK) return ret; - -+ /* We have now handed over the file, disclaim responsibility by unref. */ -+ gp_file_unref (file); -+ - /* we also get the fs info for free, so just set it */ - info.file.fields = GP_FILE_INFO_TYPE | GP_FILE_INFO_NAME | - GP_FILE_INFO_WIDTH | GP_FILE_INFO_HEIGHT | -- 2.30.2