jstedfast / gmime

A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools.
GNU Lesser General Public License v2.1
111 stars 36 forks source link

Fix some warnings from g_string_free. #144

Closed dagle closed 1 year ago

dagle commented 1 year ago

Using the latest version of glib, glib has started to report a warning if the return value of g_string_free isn't used, when free_segment is set FALSE. It also makes the code tidier.

jstedfast commented 1 year ago

Thanks! Patch looked good.