From 79e7fdb45591ca5e6d760feefc83762d216b9f61 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 21 Dec 2018 10:29:45 +0100 Subject: unref the context in afl sample --- examples/sample-afl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'examples') 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; } -- cgit v1.2.1