Matt Low 49c1a3b904 Rework handling of input reading, fix segmentation fault.
Connection to mpd is no longer left open when invalid
input received.

Segmentation fault was a result of passing getline
an uninitialized pointer.

Also make sure to free the pointer after.
2019-10-16 20:45:17 +04:00
2019-10-15 23:52:35 +04:00
Description
No description provided
356 KiB
Languages
C 93.3%
Shell 4.5%
Makefile 2.2%