diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-10-30 18:17:54 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-10-30 18:17:54 +0100 |
commit | ca4ecaf2b06e50fc2026e35b946409b719f72425 (patch) | |
tree | 887e7e2b20ae132ed53f29744d93c8901db9e84d /src/narrative_window.c | |
parent | 91f680b08931aaa43df551d18fdd4b6638fbac7b (diff) |
Fix reference counting for presentation/stylesheet GFiles
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r-- | src/narrative_window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c index 3f936e0..98001a9 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -147,6 +147,7 @@ static gint saveas_response_sig(GtkWidget *d, gint response, show_error(si->nw, _("Failed to save presentation")); } + /* save_presentation keeps a reference to both of these */ g_object_unref(file); g_object_unref(ssfile); |