aboutsummaryrefslogtreecommitdiffstats
path: root/src/charset.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 16:17:21 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 16:17:21 +0100
commit521a026319775913bf828aa1c2de5ce5d717811c (patch)
tree11636d22a4fc7a10ab92a8fdda0286d1c66d8699 /src/charset.c
parent3eca95ac1cb786d1aef59fd141d75661903c039a (diff)
downloadmpd-521a026319775913bf828aa1c2de5ce5d717811c.tar.gz
mpd-521a026319775913bf828aa1c2de5ce5d717811c.tar.xz
mpd-521a026319775913bf828aa1c2de5ce5d717811c.zip
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.
Diffstat (limited to 'src/charset.c')
0 files changed, 0 insertions, 0 deletions