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:
Panagiotis Vasilikos <panagiotis.vasilikos@alexandra.dk>
parent
0f705256
Please register or sign in to comment