hal: Branch 'master' - 2 commits
David Zeuthen
david at kemper.freedesktop.org
Mon Jul 2 15:27:17 PDT 2007
libhal/libhal.c | 1 +
1 files changed, 1 insertion(+)
New commits:
diff-tree 0d6f53e362552899648467c22c767570b0825029 (from parents)
Merge: 96834a07de4fe66d506427a99b001f796ddea019 b6627461f897e0f6886ef73cbf415a28afa53279
Author: David Zeuthen <davidz at redhat.com>
Date: Mon Jul 2 18:27:08 2007 -0400
Merge branch 'master' of ssh://david@git.freedesktop.org/git/hal
diff-tree 96834a07de4fe66d506427a99b001f796ddea019 (from 1d38172d34d8bfbb728b9f1cc5fe386f711c1a05)
Author: Sjoerd Simons <sjoerd at luon.net>
Date: Mon Jul 2 18:25:14 2007 -0400
free changeset elements keys
Changeset element keys weren't freed, causing memleaks. Mostly in the
UPS addon, which uses it for every change it notices.
diff --git a/libhal/libhal.c b/libhal/libhal.c
index fb9800a..c8e41aa 100644
--- a/libhal/libhal.c
+++ b/libhal/libhal.c
@@ -4191,6 +4191,7 @@ libhal_device_free_changeset (LibHalChan
fprintf (stderr, "%s %d : unknown change_type %d\n", __FILE__, __LINE__, elem->change_type);
break;
}
+ free (elem->key);
free (elem);
}
More information about the hal-commit
mailing list