diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2010-03-21 10:52:52 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2010-03-21 10:52:52 +0000 |
commit | ca1804e02421735b28395d6ad03f1e876f202f43 (patch) | |
tree | d90021baf742f353d5a3e527aeceb60199ba26b7 /libgphoto2 | |
parent | d1701eb4d89531b8ec53a6ed33fe250ddb39b851 (diff) | |
download | libgphoto2-ca1804e02421735b28395d6ad03f1e876f202f43.tar.gz |
reorder lines to not free the info entry before usage
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12828 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2')
-rw-r--r-- | libgphoto2/gphoto2-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2/gphoto2-camera.c b/libgphoto2/gphoto2-camera.c index fd168396c..76a24a78b 100644 --- a/libgphoto2/gphoto2-camera.c +++ b/libgphoto2/gphoto2-camera.c @@ -765,8 +765,8 @@ gp_camera_init (Camera *camera, GPContext *context) CRSL (camera, gp_list_get_value (list, 0, &port), context, list); p = gp_port_info_list_lookup_path (il, port); gp_port_info_list_get_info (il, p, &info); - gp_port_info_list_free (il); CRSL (camera, gp_camera_set_port_info (camera, info), context, list); + gp_port_info_list_free (il); gp_list_free (list); } |