diff options
author | Marcus Meissner <meissner@suse.de> | 2018-12-21 10:29:45 +0100 |
---|---|---|
committer | Marcus Meissner <meissner@suse.de> | 2018-12-21 10:30:15 +0100 |
commit | 79e7fdb45591ca5e6d760feefc83762d216b9f61 (patch) | |
tree | 76f20cedd0254ecf5ad32a1cfabcbdec601a726b /examples | |
parent | 980c03e5e4b182b0ff1735e766802258a1305631 (diff) | |
download | libgphoto2-79e7fdb45591ca5e6d760feefc83762d216b9f61.tar.gz |
unref the context in afl sample
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sample-afl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sample-afl.c b/examples/sample-afl.c index 53def6759..8371fdef6 100644 --- a/examples/sample-afl.c +++ b/examples/sample-afl.c @@ -163,6 +163,7 @@ int main(int argc, char **argv) { /* AFL PART ENDS HERE */ out: gp_camera_exit (camera, context); + gp_context_unref (context); gp_camera_free (camera); return 0; } |