projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
procd: Fix memory leaks found by cppcheck
[project/procd.git]
/
initd
/
mkdev.c
diff --git
a/initd/mkdev.c
b/initd/mkdev.c
index
e6d3d0c
..
e826707
100644
(file)
--- a/
initd/mkdev.c
+++ b/
initd/mkdev.c
@@
-121,5
+121,6
@@
int mkdev(const char *name, int _mode)
n_patterns = 1;
find_devs(true);
find_devs(false);
+ free(pattern);
return chdir("/");
}