summaryrefslogtreecommitdiff
path: root/examples/sample-afl.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sample-afl.c')
-rw-r--r--examples/sample-afl.c1
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;
}