projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mptcp: really cope with fastopen race
[linux-2.6-block.git]
/
scripts
/
kconfig
/
util.c
diff --git
a/scripts/kconfig/util.c
b/scripts/kconfig/util.c
index b78f114ad48cc5bac6e57246f8a2df4dabc0271d..92e5b2b9761d70966279ac0159769adf580110fa 100644
(file)
--- a/
scripts/kconfig/util.c
+++ b/
scripts/kconfig/util.c
@@
-42,8
+42,7
@@
struct gstr str_new(void)
/* Free storage for growable string */
void str_free(struct gstr *gs)
{
- if (gs->s)
- free(gs->s);
+ free(gs->s);
gs->s = NULL;
gs->len = 0;
}