Commits

Daniel Cid committed 4b86abf

Clearing all variables on the freedata (avoiding memory leak on syslogd and dbd).

Comments (0)

Files changed (1)

src/shared/read-alert.c

     {
         free(al_data->srcip);
     }
+    if(al_data->dstip)
+    {
+        free(al_data->dstip);
+    }
     if(al_data->user)
     {
         free(al_data->user);