summaryrefslogtreecommitdiff
path: root/libgphoto2_port/libgphoto2_port
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2012-03-18 18:49:18 +0000
committerMarcus Meissner <marcus@jet.franken.de>2012-03-18 18:49:18 +0000
commit16d36d7b232b6efd8e6d66f01ba01b433d06a3c3 (patch)
treeef09030f86f89a2738eed5318b0d2f2519e40fd8 /libgphoto2_port/libgphoto2_port
parentc152b5bb56824b83fc96dad8f326e658635228bd (diff)
downloadlibgphoto2-16d36d7b232b6efd8e6d66f01ba01b433d06a3c3.tar.gz
free the info list
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@13921 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/libgphoto2_port')
-rw-r--r--libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c
index 94963a205..45c911269 100644
--- a/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c
+++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-info-list.c
@@ -148,6 +148,7 @@ gp_port_info_list_free (GPPortInfoList *list)
list->info[i]->path = NULL;
free (list->info[i]->library_filename);
list->info[i]->library_filename = NULL;
+ free (list->info[i]);
}
free (list->info);
list->info = NULL;