Fix one instance of strdup() -> g_strdup().

svn path=/trunk/; revision=38363
This commit is contained in:
Michael Tüxen 2011-08-05 13:17:41 +00:00
parent 02b614618f
commit adbe753411
1 changed files with 1 additions and 1 deletions

View File

@ -2186,7 +2186,7 @@ static void toggle_callback(GtkCellRendererToggle *cell _U_,
}
}
if (!found && enabled) {
interface_opts.name = strdup(row.name);
interface_opts.name = g_strdup(row.name);
interface_opts.descr = get_interface_descriptive_name(interface_opts.name);
interface_opts.linktype = row.active_dlt;
interface_opts.promisc_mode = row.pmode;