mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
mgcp_test: fix possible double free
Change-Id: I2d044382c0bb66e190400e3397449c3f2387359a
This commit is contained in:
@@ -685,6 +685,7 @@ static void test_messages(void)
|
||||
printf("(response does not contain a connection id)\n");
|
||||
}
|
||||
|
||||
if (msg)
|
||||
msgb_free(msg);
|
||||
|
||||
if (dummy_packets)
|
||||
|
Reference in New Issue
Block a user