summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
Diffstat (limited to 'toxav')
-rw-r--r--toxav/msi.c1
-rw-r--r--toxav/toxav.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/toxav/msi.c b/toxav/msi.c
index 6c07ed03..73429a81 100644
--- a/toxav/msi.c
+++ b/toxav/msi.c
@@ -1411,7 +1411,6 @@ static void msi_handle_packet ( Messenger *messenger, int source, const uint8_t
1411 LOGGER_WARNING("Invalid message: no resp nor requ headers"); 1411 LOGGER_WARNING("Invalid message: no resp nor requ headers");
1412 } 1412 }
1413 1413
1414free_end:
1415 free ( msg ); 1414 free ( msg );
1416} 1415}
1417 1416
diff --git a/toxav/toxav.c b/toxav/toxav.c
index ebe32fe4..dfb5dce3 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -272,7 +272,7 @@ int toxav_reject ( ToxAv *av, int32_t call_index, const char *reason )
272 return ErrorInvalidState; 272 return ErrorInvalidState;
273 } 273 }
274 274
275 return msi_reject(av->msi_session, call_index, (const uint8_t *) reason); 275 return msi_reject(av->msi_session, call_index, reason);
276} 276}
277 277
278/** 278/**