Commit caeb211c authored by Panagiotis Vasilikos's avatar Panagiotis Vasilikos
Browse files

Memory leak in socks_mosq.c



Reason: The memory allocated for the packet pointer at line 155 is not freed
before returning at line 188.

Fix: I inserted the mosquitto__free(packet) statement just before returning
at line 188.

Signed-off-by: default avatarPanagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
parent 0f705256
Supports Markdown
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