Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
small memory leak in ToolsPlus plugin? and diff file
(1/1)
frithjofh:
hi everyone,
i think there is a small memory leak in this plugin, in file PipedProcssCtrl.cpp function OnUserInput(). an array of char is allocated with new and never deleted. i attach a patch file resolving the issue by changing dynamic allocation (which is not necessary here) to heap allocation.
regards
frithjofh
MortenMacFly:
Good catch and applied. Thanks for spotting this!
Navigation
[0] Message Index
Go to full version