ensure monkey command dispatch frees argument vector (coverity 1127054)

This commit is contained in:
Vincent Sanders 2014-01-24 11:54:53 +00:00
parent 69778e2945
commit b38dfd7939

View File

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