chiark / gitweb /
terminal: free sysview-device names on destruction
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 28 Aug 2014 10:25:58 +0000 (12:25 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 28 Aug 2014 10:45:51 +0000 (12:45 +0200)
commitfa9838ddd62ea31f8aea99757916a16d76b31cbc
tree2bb3f4326147e4758ec788aa321645d86385779f
parent200716a628b70fe723e7d4e09bb2ece10c10bdc0
terminal: free sysview-device names on destruction

Don't leak the device-names during device destruction in sysview. Somehow,
the device-name is "const char*", so make it "char*" first to avoid
warnings when calling free() on it.
src/libsystemd-terminal/sysview-internal.h
src/libsystemd-terminal/sysview.c