added missing free
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12483 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user