Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 3aee157

Browse files
LOorts-AloxyJFinneganAloxy
authored andcommitted
EM-557-alp-commands-dont-get-cleaned-up-correctly-without-tag-requests
1 parent e9fd963 commit 3aee157

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stack/modules/alp/alp_layer.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,9 @@ static void process_async(void* arg)
867867
if (command->forward_itf_id != ALP_ITF_ID_HOST) {
868868
if (!command->is_response) {
869869
forward_command(command, &forward_interface_config);
870+
871+
if(!command->respond_when_completed)
872+
free_command(command);
870873
free_command(resp_command); // command itself will be free-ed when interface responds with this command
871874
// with correct tag
872875
return;

0 commit comments

Comments
 (0)