*
* (c) 1997 Martin Mares <mj@ucw.cz>
* (c) 2001 Robert Spalek <robert@ucw.cz>
+ *
+ * This software may be freely distributed and used according to the terms
+ * of the GNU Lesser General Public License.
*/
#include "lib/lib.h"
rx_free(regex *r)
{
xfree(r->buf.buffer);
+ if (r->buf.translate)
+ xfree(r->buf.translate);
xfree(r);
}