diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-30 00:42:24 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-03-30 00:42:24 +0000 |
| commit | 189ec94a227498b9d1e3f720bddd4099e9de8652 (patch) | |
| tree | 89278142aafd94d61b00109c316e8e2a82ab1d4c /src/sp-guide.cpp | |
| parent | Minor fixes (diff) | |
| parent | Removed obsolete header file. (diff) | |
| download | inkscape-189ec94a227498b9d1e3f720bddd4099e9de8652.tar.gz inkscape-189ec94a227498b9d1e3f720bddd4099e9de8652.zip | |
Update to trunk
(bzr r13090.1.38)
Diffstat (limited to 'src/sp-guide.cpp')
| -rw-r--r-- | src/sp-guide.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp index a0aa9692e..60f15a79d 100644 --- a/src/sp-guide.cpp +++ b/src/sp-guide.cpp @@ -183,6 +183,8 @@ void SPGuide::release() { void SPGuide::set(unsigned int key, const gchar *value) { switch (key) { case SP_ATTR_INKSCAPE_LABEL: + if (this->label) g_free(this->label); + if (value) { this->label = g_strdup(value); } else { |
