zoom: reset result set ptr to avoid option reading from it
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 Sep 2013 13:20:06 +0000 (15:20 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 18 Sep 2013 13:20:06 +0000 (15:20 +0200)
src/filter_zoom.cpp

index e9b0f75..b9567e6 100644 (file)
@@ -374,7 +374,7 @@ void yf::Zoom::Backend::search(ZOOM_query q, Odr_int *hits,
                                ODR odr)
 {
     ZOOM_resultset_destroy(m_resultset);
-
+    m_resultset = 0;
     if (*flp)
     {
         WRBUF w = wrbuf_alloc();