Fix problem with non-reentrant journal driver
[pspp] / src / ui / gui / psppire-value-entry.c
index 322cb3a3b4eb13cfea28f9f05a0792b96ac7d47f..a55a50465c66aea9d916ef2240ae039cf90794ff 100644 (file)
@@ -280,6 +280,8 @@ psppire_value_entry_refresh_model (PsppireValueEntry *obj)
     }
 
   gtk_combo_box_set_model (GTK_COMBO_BOX (obj), model);
+  if (model != NULL)
+    g_object_unref (model);
 }
 
 void