aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extcap.c b/extcap.c
index 973d2a9d2c..87a584d98a 100644
--- a/extcap.c
+++ b/extcap.c
@@ -385,7 +385,7 @@ static gboolean interfaces_cb(const gchar *extcap, const gchar *ifname _U_, gcha
else if (int_iter->if_type == EXTCAP_SENTENCE_EXTCAP)
{
g_log(LOG_DOMAIN_CAPTURE, G_LOG_LEVEL_DEBUG, " Extcap [%s] ", int_iter->call);
- help = g_strdup(int_iter->help);
+ help = int_iter->help;
}
if (int_iter->if_type == EXTCAP_SENTENCE_INTERFACE)
@@ -403,7 +403,7 @@ static gboolean interfaces_cb(const gchar *extcap, const gchar *ifname _U_, gcha
}
int_iter->extcap_path = g_strdup(extcap);
- int_iter->help = help;
+ int_iter->help = g_strdup(help);
preserve_interface = extcap_if_add(int_iter);
}