[gupnp] Don't leak GError in linux cm
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Don't leak GError in linux cm
- Date: Sun, 9 Dec 2012 20:43:38 +0000 (UTC)
commit 0459f94539caf8d9171bf457acd526c85596b5a9
Author: Marcin Nowakowski <marcin nowakowski pure com>
Date: Sun Dec 9 21:07:57 2012 +0100
Don't leak GError in linux cm
libgupnp/gupnp-linux-context-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgupnp/gupnp-linux-context-manager.c b/libgupnp/gupnp-linux-context-manager.c
index 7d36cda..a5d1c46 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -473,6 +473,8 @@ query_all_network_interfaces (GUPnPLinuxContextManager *self)
do {
receive_netlink_message (self, &error);
} while (error == NULL);
+
+ g_error_free (error);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]