apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 52528] apr_dbd_get_driver doesn't clean up nice when failing to load a module
Date Sun, 05 Aug 2012 21:48:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52528

--- Comment #5 from Stefan Fritsch <sf@sfritsch.de> ---
I think apr_dbd_get_driver() should not ignore the passed in pool but pass it
to apu_dso_load(). The latter will only use it for temporary data, anyway, and
load the dso with the global pool.

apr_dso_load() (apr_, not apu_) will still allocate the size of a
apr_dso_handle_t on failure, but that's much less than what apu_dso_load() will
allocate for pathnames, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message