Hi !
Making a simple check to see if all the new operators are freed using delete i found that there are some memory leaks in main.cpp, in the function replaceArgs ( which only affects the windows version of inkscape ).
I've added the missing delete operators and those memory leaks should be fixed.
I attach the .patch file, if you want me to fill a bug report and then submit the patch instead please tell me.