Skip to content

Commit

Permalink
Merge pull request #229 from gtrentalancia/master
Browse files Browse the repository at this point in the history
fix/doublefree: undo a double free, closes #228
  • Loading branch information
drahnr authored Mar 26, 2018
2 parents df7a0e0 + 0236e68 commit b0fc0b0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sheet/part-item.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b0fc0b0

Please sign in to comment.