1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00

debug-generator: fix minor memory leak

This commit is contained in:
Lennart Poettering 2018-11-15 22:28:58 +01:00
parent 9b2934cb81
commit a0e1f0c164

View File

@ -174,6 +174,8 @@ int main(int argc, char *argv[]) {
finish:
arg_default_unit = mfree(arg_default_unit);
strv_free(arg_wants);
strv_free(arg_mask);
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}