Free in right order

This commit is contained in:
QC 2015-06-30 21:18:45 +02:00
parent f14efce218
commit aaf9e1e345
1 changed files with 1 additions and 1 deletions

View File

@ -145,8 +145,8 @@ static void combi_mode_destroy ( Switcher *sw )
pd->switchers[i]->destroy ( pd->switchers[i] );
}
g_free ( pd->switchers );
g_free ( pd );
g_free ( pd->cache );
g_free ( pd );
sw->private_data = NULL;
}
}