Re: [gnome-db] [PATCH] Fix some memory leaks

I am reverting this change:

1. You changed it to return a copy  even though the documentation says
"Gets a #GdaProviderInfo structure from the provider list given its
name, don't modify or free it."

2. You freed the result of gda_config_get_provider_list() even though
its documentation also says that you should not free the result. This
caused a crash.

murrayc murrayc com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]