Author Topic: Teemu v1.1  (Read 18348 times)

Tapio

  • Newcomer
  • Posts: 46
  • Karma: +2/-1
    • View Profile
    • Email
Re: Teemu v1.1
« Reply #15 on: May 21, 2010, 08:48:13 AM »
By the way, one guy "valgrinded" Teemu and found a leak, but he refuses to tell where it is. That's a bit gay. I don't have any memory leak tools, because I'm using free edition of Visual C++. It's probably nothing too serious, because the game seems to work ok and doesn't crash.
It's probably this one: http://pastebin.com/Y66CFd4r
There were a couple of other errors, but they seemed to originate from SDL.
(Also, for education, DLLs are called "Shared Objects", .so in *nix world.)

EDIT: rerun with debug symbols, so the output is more useful
« Last Edit: May 21, 2010, 08:53:21 AM by aave »

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: Teemu v1.1
« Reply #16 on: May 21, 2010, 02:21:58 PM »
Thanks. That delete nb should be delete[] nb of course. That's quite bad, probably need to release v1.11 with fixes after all. Should always check deletes for that..