diff --git a/src/sheet/part-item.c b/src/sheet/part-item.c index 5f0647bb..90cdd441 100644 --- a/src/sheet/part-item.c +++ b/src/sheet/part-item.c @@ -510,8 +510,6 @@ static void edit_properties_point (PartItem *item) } } gtk_widget_destroy (GTK_WIDGET (prop_dialog->dialog)); - - g_free (prop_dialog); } static void edit_properties (SheetItem *object) @@ -657,8 +655,6 @@ static void edit_properties (SheetItem *object) prop_dialog_response (GTK_WIDGET (prop_dialog->dialog), response, prop_dialog); gtk_widget_destroy (GTK_WIDGET (prop_dialog->dialog)); - - g_free (prop_dialog); } inline static GooCanvasAnchorType angle_to_anchor (int angle)