X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fithreaddatabase.h;fp=include%2Fithreaddatabase.h;h=651377f8dacdec09cde66a23ca04f7dda209d2e3;hp=b5d303a33efdd75272fd1f5bda44b45dbf26c06b;hb=9ae3b1434e51788e6feb72e1415ec800d05c535a;hpb=ed0732b2550c23c05fc9faf925620e87ee6dee12 diff --git a/include/ithreaddatabase.h b/include/ithreaddatabase.h index b5d303a..651377f 100644 --- a/include/ithreaddatabase.h +++ b/include/ithreaddatabase.h @@ -17,7 +17,7 @@ public: { if(m_db) { - delete m_db; + delete m_db; } m_db=new SQLite3DB::DB("fms.db3"); m_db->SetBusyTimeout(40000); // set timeout to 40 seconds