1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-12 09:17:44 +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;
}