projects
/
framework
/
security
/
smack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1a0ab
)
smackctl: fixed a memory leak in cipso_free()
author
Jarkko Sakkinen
<jarkko.sakkinen@iki.fi>
Fri, 11 Nov 2011 09:34:52 +0000
(11:34 +0200)
committer
Jarkko Sakkinen
<jarkko.sakkinen@iki.fi>
Fri, 11 Nov 2011 09:34:52 +0000
(11:34 +0200)
utils/smackctl.c
patch
|
blob
|
history
diff --git
a/utils/smackctl.c
b/utils/smackctl.c
index
7ab7d51
..
9a58bf6
100644
(file)
--- a/
utils/smackctl.c
+++ b/
utils/smackctl.c
@@
-401,6
+401,8
@@
static void cipso_free(struct cipso *cipso)
free(mapping);
mapping = next_mapping;
}
+
+ free(cipso);
}
static int cipso_apply(struct cipso *cipso)