From 8fa3854f01b7d3e40607ad4765e5df8732f2520d Mon Sep 17 00:00:00 2001 From: Leena Gunda Date: Tue, 16 Nov 2010 14:40:48 +0530 Subject: tethering: Fix for default interface string double free --- src/tethering.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/tethering.c b/src/tethering.c index 8cbee09d..c5e957d3 100644 --- a/src/tethering.c +++ b/src/tethering.c @@ -331,6 +331,7 @@ void __connman_tethering_update_interface(const char *interface) if (interface == NULL) { disable_nat(interface); + default_interface = NULL; return; } -- cgit v1.2.3