virt_db: Fix leak of naked ptr
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Sep 2013 13:39:20 +0000 (15:39 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Sep 2013 13:39:20 +0000 (15:39 +0200)
src/filter_virt_db.cpp

index f47a905..c12df80 100644 (file)
@@ -614,7 +614,6 @@ void yf::VirtualDB::Frontend::present(mp::Package &package, Z_APDU *apdu_req)
     {
         package.response() = present_package.response();
         package.session().close();
-        return;
     }
     else
     {