projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119aee5
)
* CtdlTryPassword(): fix leak
author
Wilfried Göesgens
<willi@citadel.org>
Fri, 21 May 2010 22:38:09 +0000
(22:38 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Fri, 21 May 2010 22:38:09 +0000
(22:38 +0000)
citadel/user_ops.c
patch
|
blob
|
history
diff --git
a/citadel/user_ops.c
b/citadel/user_ops.c
index 294767c68e5cd1412adf69994912a049b2211e3c..95ec1e207a9ec8818e9f233ea13da7ee8981ce6b 100644
(file)
--- a/
citadel/user_ops.c
+++ b/
citadel/user_ops.c
@@
-976,6
+976,7
@@
int CtdlTryPassword(const char *password, long len)
strproc(pw);
strproc(CC->user.password);
code = strcasecmp(CC->user.password, pw);
+ free (pw);
}
if (!code) {