i3-input: fix (irrelevant) memory leak

Given that the code was exit(0)ing directly after using that memory,
it’s not like this has any effect. However, less false positives on the
clang-analyze report pages is a good thing.
next
Michael Stapelberg 2014-05-15 23:50:09 +02:00
parent 0d50658fa7
commit e2f47ef466
1 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,8 @@ static void finish_input() {
ipc_send_message(sockfd, strlen(full), 0, (uint8_t*)full);
free(full);
#if 0
free(command);
return 1;