fix previous commit

This commit is contained in:
rlar 2017-03-04 12:09:59 +01:00
parent 0538511c9f
commit 9c9d89e6ec
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,7 @@ static void
cm_filesource_callback(ARGS, Mif_Callback_Reason_t reason)
{
switch (reason) {
case MIF_CB_DESTROY:
case MIF_CB_DESTROY: {
Local_Data_t *loc = STATIC_VAR (locdata);
fclose(loc->state->fp);
free(loc->state);
@ -151,6 +151,7 @@ cm_filesource_callback(ARGS, Mif_Callback_Reason_t reason)
free(loc);
break;
}
}
}