mirror of
https://github.com/vale981/spectrwm
synced 2025-03-06 02:01:42 -05:00
Merge branch 'master' of ssh://opensource.conformal.com/git/scrotwm
This commit is contained in:
commit
82e158a61f
1 changed files with 2 additions and 1 deletions
|
@ -3218,7 +3218,7 @@ search_do_resp(void)
|
||||||
|
|
||||||
if ((resp = calloc(1, MAX_RESP_LEN + 1)) == NULL) {
|
if ((resp = calloc(1, MAX_RESP_LEN + 1)) == NULL) {
|
||||||
fprintf(stderr, "search: calloc\n");
|
fprintf(stderr, "search: calloc\n");
|
||||||
return;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
rbytes = read(select_resp_pipe[0], resp, MAX_RESP_LEN);
|
rbytes = read(select_resp_pipe[0], resp, MAX_RESP_LEN);
|
||||||
|
@ -3250,6 +3250,7 @@ search_do_resp(void)
|
||||||
free(s);
|
free(s);
|
||||||
}
|
}
|
||||||
done:
|
done:
|
||||||
|
close(select_resp_pipe[0]);
|
||||||
free(resp);
|
free(resp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue