log - free flags
dionaea.c

  - free strings in show_version()
    - no need to compare it with not initialized structure

  - free options when not needed anymor
python - free and destroy hash table with imports

when freeing module
signals - handle SIGTERM

  - as this is the usual signal sent when terminating the program