projects
/
platform
/
upstream
/
polkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c98ceb5
)
Fix a memory leak
author
Miloslav Trmač
<mitr@redhat.com>
Tue, 7 May 2013 20:30:25 +0000
(22:30 +0200)
committer
Miloslav Trmač
<mitr@redhat.com>
Tue, 7 May 2013 20:44:50 +0000
(22:44 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=64336
src/polkitagent/polkitagenthelper-pam.c
patch
|
blob
|
history
diff --git
a/src/polkitagent/polkitagenthelper-pam.c
b/src/polkitagent/polkitagenthelper-pam.c
index 7af5321ebfa3e44c8c1bb0e2960e6e022adafe5b..292abbe44e88e1c4e1ced799734bd1335fa0c23a 100644
(file)
--- a/
src/polkitagent/polkitagenthelper-pam.c
+++ b/
src/polkitagent/polkitagenthelper-pam.c
@@
-321,6
+321,7
@@
error:
}
}
memset (aresp, 0, n * sizeof *aresp);
+ free (aresp);
*resp = NULL;
return PAM_CONV_ERR;
}