/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
/**
void request_release(request *r)
{
request_q *q = r->q;
+ if (r->request_mem)
+ nmem_destroy(r->request_mem);
r->next = q->list;
q->list = r;
}