MythTV/mythtv — comment on commit cff84e3e9ca684a967622fe30a505447e7f77c54
File: mythtv/libs/libmythbase/system-windows.cpp line 381
By zwahlsim:

I think you should do the free() call before setting the var to NULL? It won't be of much use else...