[mythtv-firehose] mythtv/master commit: 5b7303bba by Gavin Hurlbut (Beirdo)
MythTV
noreply at mythtv.org
Thu Jun 30 21:18:14 UTC 2011
Author: Gavin Hurlbut <ghurlbut at mythtv.org>
Change Date: 2011-06-30T14:17:18-07:00
Push Date: 2011/06/30 14:18:03 -0700
Repository: mythtv
Branch: master
New Revision: 5b7303bba26b8bd51c6cbe3212429993920e4c1b
Changeset: https://github.com/MythTV/mythtv/commit/5b7303bba
Log:
Moved the free of the malloced memory to a common code path
from cppcheck:
[libs/libmythbase/system-unix.cpp:813]: (error) Memory leak: command
This memory still may appear leaked in the child code path (after the fork)
but the execv() call replaces everything in the memory footprint of the
process anyways. The system will take care of that.
If this doesn't silence cppcheck, we'll need to figure out how to make it
happy, but this code shouldn't actually be leaking anything at this point.
Modified:
mythtv/libs/libmythbase/system-unix.cpp
More information about the mythtv-firehose
mailing list