Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/openrc-run/openrc-run.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ svc_getenv(const char *svc)
}

free(var);
rc_stringlist_free(reexports);
}

/* Buffer and lock all output messages so that we get readable content */
Expand Down Expand Up @@ -996,7 +997,7 @@ load_dep_env(void)
TAILQ_FOREACH(svc, depsvcs, entries)
svc_getenv(svc->value);

rc_stringlist_free(services);
rc_stringlist_free(depsvcs);
}

static void
Expand Down Expand Up @@ -1314,6 +1315,7 @@ int main(int argc, char **argv)
* for safety.
*/
setenv("RC_RUNSCRIPT_PID", pidstr, 1);
free(pidstr);

/* eprefix is kinda klunky, but it works for our purposes */
if (rc_conf_yesno("rc_parallel")) {
Expand Down
Loading