Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xfce
xfce4-settings
Commits
8d40a86c
Commit
8d40a86c
authored
May 24, 2011
by
Nick Schermer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use freed memory (bug #7653).
parent
322d81a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
dialogs/appearance-settings/main.c
dialogs/appearance-settings/main.c
+2
-3
No files found.
dialogs/appearance-settings/main.c
View file @
8d40a86c
...
...
@@ -443,9 +443,6 @@ appearance_settings_load_ui_themes (GtkListStore *list_store,
/* Escape the comment because tooltips are markup, not text */
comment_escaped
=
theme_comment
?
g_markup_escape_text
(
theme_comment
,
-
1
)
:
NULL
;
/* Close theme index file */
xfce_rc_close
(
index_file
);
}
else
{
...
...
@@ -462,6 +459,8 @@ appearance_settings_load_ui_themes (GtkListStore *list_store,
COLUMN_THEME_COMMENT
,
comment_escaped
,
-
1
);
/* Cleanup */
if
(
G_LIKELY
(
index_file
!=
NULL
))
xfce_rc_close
(
index_file
);
g_free
(
comment_escaped
);
/* Check if this is the active theme, if so, select it */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment