Commit d93bad13 authored by Andreas Schmidt's avatar Andreas Schmidt

Fix early destroy.

parent fc40c5fc
......@@ -70,7 +70,6 @@ List *PrrtPacketTimeoutTable_expire_packets(PrrtPacketTimeoutTable *table, prrtT
PrrtPacket *packet = current->value;
PrrtPacketDataPayload* payload = packet->payload;
table->packetList = BPTree_delete(table->packetList, payload->packetTimeout_us);
PrrtPacket_destroy(packet);
}
check(pthread_mutex_unlock(&table->lock) == EXIT_SUCCESS, "Unlock failed.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment