Thierry Reding <[email protected]> writes: > If you absolutely must be able to use either statically or dynamically > allocated strings in the same data structure, why not just go and > strdup() string constants so that you can treat the structure in the > same way subsequently?
1) That's not how the code works today, and these additional
allocations will result in memory leaks unless we carefully
review all code paths to ensure that they get freed.
2) It's a waste of CPU and memory.
--
[email protected]
pgpdGFvhFwulj.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
