diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2014-01-05 20:12:34 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2014-01-05 20:12:34 +0000 |
commit | 0afc97d423dd7c1023ce1d2b559df482937ed97d (patch) | |
tree | 852094a3121c0dc92eeedac5d509a7adf9bba7f7 /libgphoto2 | |
parent | 3224bcf28d2f8362f3bd0ae9a897dbc1b5f02226 (diff) | |
download | libgphoto2-0afc97d423dd7c1023ce1d2b559df482937ed97d.tar.gz |
free allocated string
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14637 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2')
-rw-r--r-- | libgphoto2/gphoto2-context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgphoto2/gphoto2-context.c b/libgphoto2/gphoto2-context.c index c08802517..7efd9d2d2 100644 --- a/libgphoto2/gphoto2-context.c +++ b/libgphoto2/gphoto2-context.c @@ -452,6 +452,8 @@ gp_context_question (GPContext *context, const char *format, ...) if (context && context->question_func) feedback = context->question_func (context, str, context->question_func_data); + free (str); + return feedback; } |