[info-performer] Leak while loading file

Date view Thread view Subject view Author view

From: Simon Perreault (nomis80++at++nomis80.org)
Date: 06/23/2004 08:31:54


Hi,

You'll probably hate me for asking this, but here's a simple question.
Why does this leak?

#include <Performer/pfdu.h>
#include <Performer/pf/pfNode.h>

int main( int argc, char* argv[] )
{
     pfInit();
     pfFilePath(".");
     pfdInitConverter( "3ds" );
     pfConfig();

     while (1) {
         pfNode* node = pfdLoadFile( "somefile.3ds" );
         delete node;
     }
}

Thanks.

-- 
Simon Perreault <nomis80++at++nomis80.org> -- http://nomis80.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Jun 23 2004 - 08:32:49 PDT