Skip to content
Snippets Groups Projects
Commit 8863c92d authored by Daniel Salzman's avatar Daniel Salzman
Browse files

process: fix possible resource leak (coverity)

parent 4c92406d
No related branches found
No related tags found
No related merge requests found
......@@ -48,11 +48,7 @@ char* pid_filename()
free(rundir);
rcu_read_unlock();
if (rundir != NULL) {
return pidfile;
} else {
return NULL;
}
return pidfile;
}
pid_t pid_read(const char* fn)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment