Jani Nikula <j...@nikula.org> writes:

> Fix warning caught by clang:
>
> lib/regexp-fields.cc:41:2: warning: 'delete' applied to a pointer that was 
> allocated
>       with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
>         delete buffer;
>         ^
>               []
> lib/regexp-fields.cc:37:17: note: allocated with 'new[]' here
>         char *buffer = new char[len];
>                        ^

bad me.

Pushed to master.

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to