Branch: refs/heads/master
Home:
https://github.com/asalkeld/libqb
Commit: 1c9104e334fcf9ee252632e1801c701d60e3c354
https://github.com/asalkeld/libqb/commit/1c9104e334fcf9ee252632e1801c701d...
Author: Angus Salkeld <asalkeld(a)redhat.com>
Date: 2013-03-19 (Tue, 19 Mar 2013)
Changed paths:
M lib/log_dcs.c
Log Message:
-----------
LOG: copy the function/filename for dynamic callsites
callsites originate from the assumption that the function/filename/format
are all statically allocated. When moving to dynamic callsite we kept
this assumption. But people are now passing in function/file names that
later get free'd. So we need to make sure that they stay persistant by
allocating them ourselves.
Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>