Fix from yamisoe@gmail.com for Bug 3533.

svn path=/trunk/; revision=28721
This commit is contained in:
Michael Tüxen 2009-06-14 10:24:52 +00:00
parent a78d986bd1
commit a9de6414e0

View file

@ -722,7 +722,7 @@ static void sm_counter_free(struct SMCounterRecord *head) {
struct SMCounterRecord *ptr;
while (head != NULL) {
ptr = head->next;
g_free(ptr);
g_free(head);
head = ptr;
}
}