]> rtime.felk.cvut.cz Git - sojka/can-utils.git/commit
slcand: replace char pointers with static char buffers
authorOliver Hartkopp <socketcan@hartkopp.net>
Thu, 6 Jan 2011 19:20:18 +0000 (19:20 +0000)
committerOliver Hartkopp <socketcan@hartkopp.net>
Thu, 6 Jan 2011 19:20:18 +0000 (19:20 +0000)
commitc9cdc9d0695d3caa3bd91a9c3833bb172e9f00cb
treec2919de03ad84ab76fdc8a4a08a7e67fde3ff2ed
parent3a9baeda05daf4b0eeeb32aaa22197299e42353b
slcand: replace char pointers with static char buffers

The buffers to build the pathnames had been malloc'ed and never been free'd.
This patch removes the malloc stuff entirely.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
slcand.c