Don't leak a string.

svn path=/trunk/; revision=46442
This commit is contained in:
Michael Tüxen 2012-12-07 12:58:19 +00:00
parent df8cb34370
commit 0f3f4eb79a
1 changed files with 1 additions and 0 deletions

View File

@ -3035,6 +3035,7 @@ static void toggle_callback(GtkCellRendererToggle *cell _U_,
}
}
if (device.cfilter != NULL) {
g_free(device.cfilter);
device.cfilter = NULL;
update_filter_string(device.name, NULL);
}