Revert "Fix memory leak in error handling"

This reverts commit c53be10892.

Issue tracked in bug 2443
This commit is contained in:
Vincent Sanders 2016-03-16 08:36:36 +00:00
parent 6f2fe0af47
commit 7d4d500c1d

View File

@ -2654,7 +2654,6 @@ bool box_select(BOX_SPECIAL_PARAMS)
if (err != DOM_NO_ERR) { if (err != DOM_NO_ERR) {
dom_node_unref(c2); dom_node_unref(c2);
dom_node_unref(c); dom_node_unref(c);
form_free_control(gadget);
return false; return false;
} }