[libsoup] fix soup_address_get_physical and reverse-resolution
- From: Dan Winship <danw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libsoup] fix soup_address_get_physical and reverse-resolution
- Date: Thu, 15 Oct 2009 21:33:55 +0000 (UTC)
commit 9fc013ef95522cd5d651ae700c4ed446f4126290
Author: Dan Winship <danw gnome org>
Date: Thu Oct 15 17:31:55 2009 -0400
fix soup_address_get_physical and reverse-resolution
Noted by Enrico Tröger on IRC.
libsoup/soup-address.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c
index 7ef4f46..c4e8085 100644
--- a/libsoup/soup-address.c
+++ b/libsoup/soup-address.c
@@ -467,6 +467,7 @@ soup_address_make_inet_address (SoupAddress *addr)
gsa = g_socket_address_new_from_native (priv->sockaddr,
SOUP_ADDRESS_FAMILY_SOCKADDR_SIZE (SOUP_ADDRESS_GET_FAMILY (priv)));
gia = g_inet_socket_address_get_address ((GInetSocketAddress *)gsa);
+ g_object_ref (gia);
g_object_unref (gsa);
return gia;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]