From 9d8561bd741838fc97615790511774743848f031 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 9 May 2005 13:24:09 +0000 Subject: [PATCH] Fix leak that occurred whtn diagnostic was issued --- index/zrpn.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/index/zrpn.c b/index/zrpn.c index d7d2416..e9eeea1 100644 --- a/index/zrpn.c +++ b/index/zrpn.c @@ -1,4 +1,4 @@ -/* $Id: zrpn.c,v 1.189 2005-05-04 10:48:39 adam Exp $ +/* $Id: zrpn.c,v 1.190 2005-05-09 13:24:09 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -2421,15 +2421,16 @@ ZEBRA_RES rpn_search_top(ZebraHandle zh, Z_RPNStructure *zs, for (i = 0; idec)(kc); - return ZEBRA_OK; + return res; } ZEBRA_RES rpn_search_structure(ZebraHandle zh, Z_RPNStructure *zs, -- 1.7.10.4