Help valgrind see that there is no leak in dd.c.
authorJim Meyering <jim@meyering.net>
Thu, 16 Nov 2006 08:15:47 +0000 (09:15 +0100)
committerJim Meyering <jim@meyering.net>
Thu, 16 Nov 2006 08:15:47 +0000 (09:15 +0100)
commitfc9b802e3d282875e2ad4bcafa954c0ce1c759f8
tree72a4491938790bf12d258b56000318b28f2b2c2e
parente189a79efd5d1d1eba8d03a84a015bbe6e53eb7f
Help valgrind see that there is no leak in dd.c.
* src/dd.c (dd_copy): Declare real_buf and real_obuf to be static,
so we need not free them at all.  This is easier than freeing
both buffers at each of the early "return"s.
ChangeLog
src/dd.c