diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2009-10-04 19:45:40 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2009-10-04 19:45:40 +0000 |
commit | fa534c0dca5b7d76efb29ce1d2a9b2a0a5e12771 (patch) | |
tree | f440051817f90ad812d33ab09775ff42dd512461 /libgphoto2_port/libgphoto2_port | |
parent | 3905d55bf09969157dff2998f7681aa325768419 (diff) | |
download | libgphoto2-fa534c0dca5b7d76efb29ce1d2a9b2a0a5e12771.tar.gz |
added missing free
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12483 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/libgphoto2_port')
-rw-r--r-- | libgphoto2_port/libgphoto2_port/gphoto2-port-log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c index bda2d5005..843c96d4c 100644 --- a/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c +++ b/libgphoto2_port/libgphoto2_port/gphoto2-port-log.c @@ -374,6 +374,7 @@ gp_logv (GPLogLevel level, const char *domain, const char *format, for (i = 0; i < log_simple_funcs_count; i++) if (log_simple_funcs[i].level >= level) log_simple_funcs[i].func (level, domain, str, log_simple_funcs[i].data); + free (str); } } |