X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Futil.cpp;h=64fd0b8f5bc860d513e891b1f80548d5db2c654d;hb=f9f0ca0d1907f9922889910d1ce7a83bf11ffa63;hp=cf9a6a02bcc0d5e3bdb7d34b3948f7777bcecb8b;hpb=a374b385cce205501c1ef752839aaf4aa3eaeffd;p=metaproxy-moved-to-github.git diff --git a/src/util.cpp b/src/util.cpp index cf9a6a0..64fd0b8 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1,4 +1,4 @@ -/* $Id: util.cpp,v 1.25 2007-01-25 14:05:54 adam Exp $ +/* $Id: util.cpp,v 1.26 2007-03-20 07:57:54 adam Exp $ Copyright (c) 2005-2007, Index Data. See the LICENSE file for details @@ -215,7 +215,7 @@ std::string mp_util::zQueryToString(Z_Query *query) query_str = std::string(wrbuf_buf(w), wrbuf_len(w)); // destroy wrbuf - wrbuf_free(w, 1); + wrbuf_destroy(w); } }