fix warnings

This commit is contained in:
notsecure 2014-07-23 13:26:55 -04:00
parent fffe72bcaa
commit f6bca8e928
2 changed files with 1 additions and 2 deletions

View File

@ -1411,7 +1411,6 @@ static void msi_handle_packet ( Messenger *messenger, int source, const uint8_t
LOGGER_WARNING("Invalid message: no resp nor requ headers");
}
free_end:
free ( msg );
}

View File

@ -272,7 +272,7 @@ int toxav_reject ( ToxAv *av, int32_t call_index, const char *reason )
return ErrorInvalidState;
}
return msi_reject(av->msi_session, call_index, (const uint8_t *) reason);
return msi_reject(av->msi_session, call_index, reason);
}
/**