2bf3910a9fbe18eb8fb519f02f9d49d68df7ee7a |
|
25-Mar-2014 |
David Mathog <mathog@caltech.edu> |
Patch for several issues in libuemf.
-----
The patch:
1. Removes half a dozen or so code lines that didn't do anything.
2. Fixes a couple of missing tests for pointers which cannot be NULL. (Note that in many instances the pseudoobject functions in upmf.c do accept null pointers because the objects being constructed have optional parts.)
3. There was one "real" potential memory leak (line 6276 in upmf.c, numbers before the patch). I fixed the others too, but they just never happen (iconv would have to fail in some strange way.) There are no (real) memory access violations or memory leaks in any of this either in standalone libUEMF testing or in use as part of Inkscape as determined from valgrind runs. |