wmfsm: Apply further Debian patches.
commitaef6c49d837b59dfcae153552d0dffdd5378acfb
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Thu, 22 Jan 2015 06:22:04 +0000 (22 00:22 -0600)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 22 Jan 2015 11:12:10 +0000 (22 11:12 +0000)
treec5a43796f7d460a6182df9c963d4197abc523dc8
parent3eb9307a7b17e3934e7afc0d42a6f81f85b9f767
wmfsm: Apply further Debian patches.

The individual patches no longer seem to exist, so I submit them together.
According to debian/changelog entries by Arthur Korn <arthur@debian.org>,
these patches include:
* fixed memleak introduced in 0.34-2 with the patch by Timo Benk.
  global char *mp[] was assigned the result of stdup() repeatedly
  without free. My ugly fix is to free it all up at the beginning of
  readFileSystems(). Now I'm a proud Perl coder ... closes: #196057
* memleak news: avoid it if there are more than 9 filesystems too.
* Fixed filesystem name corruption, thanks to Ralf Horstmann and Cristian
  Ionescu-Idbohrn for the patch.
wmfsm/wmfsm/wmfsm.c