Fixed 1/2 of the memory leaks while sending. Added options_delete function to garbage collect the options struct when no longer necessary. Fixed lost pointer from config2json and json_stringify functions
Fixed small bug in sender so the protocol name wasn't send
Fixed small memory leak in webserver
Made arctech_old, sartano and impuls protocols more accurate when receiving and disabled impuls receiving functionality
Made arctech_old, sartano and impuls protocols more accurate when receiving and disabled impuls receiving functionality
Made arctech_old, sartano and impuls protocols more accurate when receiving and disabled impuls receiving functionality
Fixed all memory leaks in webserver.c that i could and saw
Properly disable impuls receiver
Tried to free as much memory in webserver.c as i was capable off.
Fixed wrong call to libwebsocket_write with param LWS_WRITE_TEXT in webserver.