# HG changeset patch # User mas01cr # Date 1192630035 0 # Node ID 18a64ac14d2ad4e0c3d4e7a48b66bde0ab580a8f # Parent 90eab30d2f79eb6f7c0e2f07d3c923caf79eea36 Now with even fewer memory leaks! Free the args_info cmdline parser thingy on cleanup. In normal operation, at least, this should now lead to a server process that doesn't fall over (or, worse, cause the Linux OOM killer to kill a random process) every day or so... diff -r 90eab30d2f79 -r 18a64ac14d2a audioDB.cpp --- a/audioDB.cpp Wed Oct 17 13:49:20 2007 +0000 +++ b/audioDB.cpp Wed Oct 17 14:07:15 2007 +0000 @@ -106,6 +106,7 @@ } void audioDB::cleanup() { + cmdline_parser_free(&args_info); if(indata) munmap(indata,statbuf.st_size); if(db)