diff --git a/src/travelthru.c b/src/travelthru.c index 754a93530..32607ae5c 100644 --- a/src/travelthru.c +++ b/src/travelthru.c @@ -38,13 +38,18 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include +static void travel_done(attrib *a) { + quicklist *ql = (quicklist *)a->data.v; + ql_free(ql); +} + /*********************/ /* at_travelunit */ /*********************/ attrib_type at_travelunit = { "travelunit", DEFAULT_INIT, - DEFAULT_FINALIZE, + travel_done, DEFAULT_AGE, NO_WRITE, NO_READ