[Live-devel] [patch] fix or suppress compiler warnings
Erik Hovland
erik at hovland.org
Tue Jul 8 19:20:26 PDT 2008
On Tue, Jul 08, 2008 at 05:31:59PM -0700, Ross Finlayson wrote:
>> This patch has been checked for
>> > memory leaks since it almost always heap allocates a duplicate string
>> > instead of the = "".
>
> I see no reason not to continue to use static string constants. Copying
> them into heap-allocated memory instead (using "strDup()") is
> inefficient and pointless.
Understood. I'll submit a new patch that doesn't fix that. When gcc 4.4
and the feature is truly deprecated I can rework it.
E
--
Erik Hovland
mail: erik at hovland.org
web: http://hovland.org/
PGP/GPG public key available on request
More information about the live-devel
mailing list