Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tune2fs.8: tweak the documentation for the encrypt feature
[tools/e2fsprogs.git]
/
misc
/
base_device.c
diff --git
a/misc/base_device.c
b/misc/base_device.c
index
b2ce138
..
d1c1cd9
100644
(file)
--- a/
misc/base_device.c
+++ b/
misc/base_device.c
@@
-150,7
+150,7
@@
errout:
#ifdef DEBUG
int main(int argc, char** argv)
{
- c
onst c
har *base;
+ char *base;
char buf[256], *cp;
while (1) {
@@
-164,6
+164,7
@@
int main(int argc, char** argv)
*cp = 0;
base = base_device(buf);
printf("%s\t%s\n", buf, base ? base : "NONE");
+ free(base);
}
exit(0);
}