Fix assorted memory and static analysis errors

This commit is contained in:
Felipe Zimmerle
2017-01-31 17:15:31 -03:00
committed by Felipe Zimmerle
parent 8d0583eda4
commit e95efa05cc
62 changed files with 209 additions and 189 deletions

View File

@@ -27,9 +27,9 @@ int main (int argc, char **argv)
{
int ret;
const char *error = NULL;
ModSecurity *modsec = NULL;
ModSecurity *modsec;
Transaction *transaction = NULL;
Rules *rules = NULL;
Rules *rules;
modsec = msc_init();