unref the context in afl sample
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user