* After this call, the input list(s) are unchanged from before any
* edits were made.
*
- * the caller still has to call talloc_free(el);
+ * the caller does not have to call talloc_free(el);
*/
void fr_edit_list_abort(fr_edit_list_t *el)
{
* faster than doing it incrementally.
*/
};
+
+ talloc_free(el);
}
/** Record one particular edit
*/
fr_edit_list_abort(el);
- talloc_free(el);
-
expect3(&local_pairs);
}
*/
fr_edit_list_abort(el);
- talloc_free(el);
-
expect3(&local_pairs);
}
*/
fr_edit_list_abort(el);
- talloc_free(el);
-
expect3(&local_pairs);
}
*/
fr_edit_list_abort(el);
- talloc_free(el);
-
vp = fr_pair_list_head(&local_pairs);
TEST_CHECK(vp->da == fr_dict_attr_test_uint32);
TEST_CHECK(vp->vp_uint32 == 0);
* Abort the edit
*/
fr_edit_list_abort(el);
- talloc_free(el);
expect3(&local_pairs);
}
* Abort the edit
*/
fr_edit_list_abort(el);
- talloc_free(el);
expect3(&local_pairs);
}