Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: frithjofh on April 21, 2015, 06:51:10 pm
-
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
-
Good catch and applied. Thanks for spotting this!