From fa534c0dca5b7d76efb29ce1d2a9b2a0a5e12771 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sun, 4 Oct 2009 19:45:40 +0000 Subject: [PATCH] added missing free git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12483 67ed7778-7388-44ab-90cf-0a291f65f57c --- libgphoto2_port/libgphoto2_port/gphoto2-port-log.c | 1 + 1 file changed, 1 insertion(+) 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); } }