[gssdp] Don't leak arp_lookup



commit b7ec4bc6430cb12a14fe6dd7236ba7809dfc22d0
Author: Jens Georg <mail jensge org>
Date:   Thu Jul 7 20:03:08 2016 +0200

    Don't leak arp_lookup
    
    Signed-off-by: Jens Georg <mail jensge org>

 libgssdp/gssdp-client.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index 9d36f94..32ac231 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -188,7 +188,7 @@ gssdp_client_initable_init    (GInitable     *initable,
                                GCancellable  *cancellable,
                                GError       **error);
 
-char *
+static char *
 arp_lookup                    (GSSDPClient   *client,
                                const char    *ip_address);
 
@@ -1949,7 +1949,7 @@ init_network_info (GSSDPClient *client, GError **error)
         return ret;
 }
 
-char *
+static char *
 arp_lookup (GSSDPClient *client, const char *ip_address)
 {
 #if defined(__linux__)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]