diff options
| author | buliabyak <> | 2013-09-28 14:50:34 +0000 |
|---|---|---|
| committer | buliabyak <> | 2013-09-28 14:50:34 +0000 |
| commit | f9a958922e109295c9f4f3c12e5716ebf07a6dad (patch) | |
| tree | 9c74b06bc8d2c476979f8c4346588b301f2f1a43 /src | |
| parent | on hiding, texts must _clearFlow to release arena items, otherwise they leak (diff) | |
| download | inkscape-f9a958922e109295c9f4f3c12e5716ebf07a6dad.tar.gz inkscape-f9a958922e109295c9f4f3c12e5716ebf07a6dad.zip | |
return value of g_utf16_to_utf8 was leaking here
(bzr r12609)
Diffstat (limited to 'src')
| -rw-r--r-- | src/inkscape.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp index e1cabd2d5..cce4ca5b9 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -1483,7 +1483,9 @@ profile_path(const char *filename) } if (prefdir) { - prefdir = g_build_filename(prefdir, INKSCAPE_PROFILE_DIR, NULL); + const char *prefdir_profile = g_build_filename(prefdir, INKSCAPE_PROFILE_DIR, NULL); + g_free((void *)prefdir); + prefdir = prefdir_profile; } } #endif |
