Fix ref to freed memory in log filter 1line - MP-556
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 10 Jul 2014 14:04:05 +0000 (16:04 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 10 Jul 2014 14:04:05 +0000 (16:04 +0200)
src/filter_log.cpp

index b46815c..1365f5b 100644 (file)
@@ -701,6 +701,8 @@ void yf::Log::Impl::process(mp::Package &package)
 
     Z_GDU *gdu_res = package.response().get();
 
+    gdu_req = package.request().get();
+
     yaz_timing_stop(timer);
     double duration = yaz_timing_get_real(timer);