]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
slcand: replace char pointers with static char buffers
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 6 Jan 2011 19:20:18 +0000 (19:20 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 6 Jan 2011 19:20:18 +0000 (19:20 +0000)
commit11654463a7dc4a61a6936cf588bddba90d7b8efb
tree72f2cdc3ff4a235dbdcb53c4856ca66adc89a514
parent5eacb60a1ffa29f95240c80483434317608ee043
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>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@1228 030b6a49-0b11-0410-94ab-b0dab22257f2
can-utils/slcand.c