projects
/
platform
/
upstream
/
gcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a14f59
)
[gp11] Fix memory leak in gp11_slot_get_token_info()
author
Eric Sesterhenn
<eric.sesterhenn@lsexperts.de>
Wed, 21 Oct 2009 01:54:00 +0000
(
01:54
+0000)
committer
Stef Walter
<stef@memberwebs.com>
Wed, 21 Oct 2009 01:54:00 +0000
(
01:54
+0000)
Signed-off-by: Stef Walter <stef@memberwebs.com>
gp11/gp11-slot.c
patch
|
blob
|
history
diff --git
a/gp11/gp11-slot.c
b/gp11/gp11-slot.c
index
722c90d
..
22381a1
100644
(file)
--- a/
gp11/gp11-slot.c
+++ b/
gp11/gp11-slot.c
@@
-620,6
+620,7
@@
gp11_slot_get_token_info (GP11Slot *self)
tokeninfo->utc_time = -1;
else
tokeninfo->utc_time = timegm (&tm);
+ g_free (string);
} else {
tokeninfo->utc_time = -1;
}