mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 23:39:51 +03:00
ensure monkey command dispatch frees argument vector (coverity 1127054)
This commit is contained in:
parent
69778e2945
commit
b38dfd7939
@ -81,6 +81,9 @@ monkey_process_command(void)
|
||||
}
|
||||
} RING_ITERATE_END(handler_ring, handler);
|
||||
|
||||
if (fn != NULL)
|
||||
if (fn != NULL) {
|
||||
fn(argc, argv);
|
||||
}
|
||||
|
||||
free(argv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user