author | Max Kellermann <max@duempel.org> | |
Fri, 7 Nov 2008 15:17:21 +0000 (16:17 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 7 Nov 2008 15:17:21 +0000 (16:17 +0100) | ||
commit | 521a026319775913bf828aa1c2de5ce5d717811c | |
tree | 11636d22a4fc7a10ab92a8fdda0286d1c66d8699 | tree | snapshot |
parent | 3eca95ac1cb786d1aef59fd141d75661903c039a | commit | diff |
wreadln: return NULL instead of empty string
No wreadln() caller cares about an empty string. Simplify the callers
by returning NULL instead of an allocated empty string. This fixes
several memory leaks.
No wreadln() caller cares about an empty string. Simplify the callers
by returning NULL instead of an allocated empty string. This fixes
several memory leaks.
src/screen_play.c | diff | blob | history | |
src/screen_search.c | diff | blob | history | |
src/screen_utils.c | diff | blob | history | |
src/wreadln.c | diff | blob | history |