Leaks and warnings

The first commit fixes two small memory leaks reported by valgrind. The second commit fixes some (not all) warnings printed by GCC.

Please merge. Thanks.

Edited by Ghost User

Merge request reports

Loading