jpmens / mosquitto-auth-plug

Authentication plugin for Mosquitto with multiple back-ends (MySQL, Redis, CDB, SQLite3)
Other
825 stars 496 forks source link

Build fails for release 0.1.3 (attempt to free a non-heap object 'url') #379

Closed bstie closed 6 years ago

bstie commented 6 years ago

The build of release 0.1.3 fails for me with the following Error:

mqtt_1_b6c518092ac4 | be-jwt.c: In function 'http_post':
mqtt_1_b6c518092ac4 | be-jwt.c:205:2: error: attempt to free a non-heap object 'url' [-Werror=free-nonheap-object]
mqtt_1_b6c518092ac4 |   free(url);
mqtt_1_b6c518092ac4 |   ^~~~~~~~~
mqtt_1_b6c518092ac4 | cc1: all warnings being treated as errors
mqtt_1_b6c518092ac4 | <builtin>: recipe for target 'be-jwt.o' failed
mqtt_1_b6c518092ac4 | make: *** [be-jwt.o] Error 1

I am building it inside of a docker environment (thats why the "mqtt_1..." appears on each line)

jpmens commented 6 years ago

Fixed. Thank you.