Hi, I was wondering if there is a
g_object_unref(G_OBJECT (input));
missing at the end of the function wvInitParser in
wvparse.c.
I noticed that a program which opens lots of files
fails after about 1000 iterations because there are too
many files open. I can reproduce this problem with wv
1.2.0 in Suse 10 running this code:
wvInit();
for (i = 0; i != 2000; ++i) {
wvParseStruct ps;
wvInitParser(&ps, "somefile");
wvOLEFree(&ps);
tokenTreeFreeAll();
}
wvShutdown();
Logged In: YES
user_id=69417
This only seems to break things worse. I'm not seeing any
leaks these days related to libgsf. Please submit a valgrind
report. Thanks.
Logged In: YES
user_id=1381701
Please find attached a valgrind and strace report.
valgrind report
strace