hal: Branch 'master' - 2 commits
Sjoerd Simons
sjoerd at kemper.freedesktop.org
Tue Jul 3 03:27:17 PDT 2007
0 files changed
New commits:
diff-tree 295917ce0e54f6fa91d44cb5a58ffad80707a2a0 (from parents)
Merge: 314ee3c92e02b35c19a14e0d7465e7c0df2a7903 2d1d72e8c9f3ff0ed4fc9e3147aacc607f250f39
Author: Sjoerd Simons <sjoerd at luon.net>
Date: Tue Jul 3 12:25:27 2007 +0200
Merge branch 'master' of ssh://git.freedesktop.org/git/hal
diff-tree 314ee3c92e02b35c19a14e0d7465e7c0df2a7903 (from 1d38172d34d8bfbb728b9f1cc5fe386f711c1a05)
Author: Sjoerd Simons <sjoerd at luon.net>
Date: Thu Jun 21 14:58:54 2007 +0200
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