GKeyFile memory leak on Windows ?



try this little prog on Windows xp:

#include<glib.h>

int main()
{
    while(1)
    {
        GKeyFile *key = g_key_file_new();
        g_key_file_free(key);
    }
}

It will eat up all memory. I can't find why.
Could someone help me ? I think this maybe a memory leak.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]