[Live-devel] [patch] fix or suppress compiler warnings

Ross Finlayson finlayson at live555.com
Tue Jul 8 17:31:59 PDT 2008


>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.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list