[Openais] "free (ld_library_path)" in ld_library_path_build
(void) (lcr_ifact.c) looks wrong
Steven Dake
sdake at redhat.com
Mon Apr 24 12:17:46 PDT 2006
Jeff
This has been fixed in the trunk by a patch from Hans.
Regards
-steve
On Mon, 2006-04-24 at 12:08 -0400, Jeff wrote:
> I found that defining LD_LIBRARY_PATH before executing aisexec
> leads to a core dump unless I remove the free() at line 204 in
> trunk\lcr\lcr_ifact.c (subroutine ld_library_path_build()).
>
> ld_library_path is returned from getenv() as a pointer to the
> value contained in LD_LIBRARY_PATH. AFAIK this is not something
> pass to free() when you're done with it.
>
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais
More information about the Openais
mailing list