[tools] mcd_pcm.c: poptAlias's argv parameter must be free()able.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 01:38:09 +0000 (21:38 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 01:38:09 +0000 (21:38 -0400)
commitac934089d809396efe11c10b1f06617b2d27350a
tree14b17d80df16158690df787090c265c81c3d8335
parent7aea39711feeeceda3894de0c94e2e0069d7a23c
[tools] mcd_pcm.c: poptAlias's argv parameter must be free()able.

We have to allocate argv manually in order to fix some memory issues.
poptFreeContext() tried free()ing the argv parameter, which resulted
in massive failure because it was an automatic variable.
src/tools/mcd_pcm.c