diff options
author | Milan Crha <mcrha@redhat.com> | 2010-10-22 21:42:21 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-10-22 21:42:21 +0800 |
commit | f0714755e2fa8b06425907c2cf189abd3a1b7119 (patch) | |
tree | 0ac6ed485b978703a1dd6674ee427486556a8541 /widgets/text/e-text.c | |
parent | 2e0231be722d30edaa0b2f0353d110b1b56cf445 (diff) | |
download | gsoc2013-evolution-f0714755e2fa8b06425907c2cf189abd3a1b7119.tar.gz gsoc2013-evolution-f0714755e2fa8b06425907c2cf189abd3a1b7119.tar.zst gsoc2013-evolution-f0714755e2fa8b06425907c2cf189abd3a1b7119.zip |
Memory leaks around g_value_set_string
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r-- | widgets/text/e-text.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 2ea35ed6c0..90eb4d01ca 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1058,7 +1058,7 @@ e_text_get_property (GObject *object, break; case PROP_TEXT: - g_value_set_string (value, g_strdup (text->text)); + g_value_set_string (value, text->text); break; case PROP_BOLD: @@ -1130,7 +1130,7 @@ e_text_get_property (GObject *object, break; case PROP_ELLIPSIS: - g_value_set_string (value, g_strdup (text->ellipsis)); + g_value_set_string (value, text->ellipsis); break; case PROP_LINE_WRAP: @@ -1138,7 +1138,7 @@ e_text_get_property (GObject *object, break; case PROP_BREAK_CHARACTERS: - g_value_set_string (value, g_strdup (text->break_characters)); + g_value_set_string (value, text->break_characters); break; case PROP_MAX_LINES: |