rspro_server.c: Fix memory leak in processing inbound RSPRO
We need to unconditionally free the msgb that gets handed into sock_read_cb() by the ipa server. Closes: OS#4096 Change-Id: I12b4a22854eea79c9e9c3e565dd4803e4dc0ed5a
This commit is contained in:
parent
f7442b5125
commit
6b990f914f
|
@ -613,6 +613,7 @@ static int sock_read_cb(struct ipa_server_conn *peer, struct msgb *msg)
|
|||
default:
|
||||
goto invalid;
|
||||
}
|
||||
msgb_free(msg);
|
||||
return rc;
|
||||
|
||||
invalid:
|
||||
|
|
Loading…
Reference in New Issue