unref the context in afl sample

This commit is contained in:
Marcus Meissner
2018-12-21 10:29:45 +01:00
parent 980c03e5e4
commit 79e7fdb455

View File

@@ -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;
}