[Geany-Devel] [geany/geany-plugins] 4cc119: Scope: Fix mismatched allocator/deallocator

Lex Trotman elextr at xxxxx
Thu Mar 7 19:44:15 UTC 2013

On 8 March 2013 06:06, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> On Mon, 04 Mar 2013 22:30:40 -0000
> Colomban Wendling <git-noreply at geany.org> wrote:
>> Log Message:
>> -----------
>> Scope: Fix mismatched allocator/deallocator
> These are not mismatched, I'm using strdup() instead of strdup() for
> strings that must never be NULL. Unless we have a policy to always
> use g_strdup(), or there is a real g_/strdup vs. g_/free mismatch
> somewhere, I'm going to revert them.
> Personally I prefer offensive programming: if something goes wrong, let
> it crash and burn, get a proper backtrace and fix it.

In which case this plugin must be removed from G-P until you have a
reasonable assurance it won't bring Geany down.  You may prefer crash
and burn, but you should not impose that on innocent G-P users.


> --
> E-gards: Jimmy
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel

More information about the Devel mailing list