aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-10-30 18:17:54 +0100
committerThomas White <taw@bitwiz.me.uk>2018-10-30 18:17:54 +0100
commitca4ecaf2b06e50fc2026e35b946409b719f72425 (patch)
tree887e7e2b20ae132ed53f29744d93c8901db9e84d /src/narrative_window.c
parent91f680b08931aaa43df551d18fdd4b6638fbac7b (diff)
Fix reference counting for presentation/stylesheet GFiles
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c1
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);