gnucash maint: GValue: don't unset until the boxed pointer isn't used anymore
Christopher Lam
clam at code.gnucash.org
Thu Jun 17 11:52:01 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/e7076b41 (commit)
from https://github.com/Gnucash/gnucash/commit/36d119d8 (commit)
commit e7076b41ac91b505ee69c573919f9464cabea56e
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Thu Jun 17 21:05:17 2021 +0800
GValue: don't unset until the boxed pointer isn't used anymore
Because GValue was unset earlier in this function, the
default_font_family would point to garbage. We need to unset the
GValue after the default_font_family is used to set the GObject.
Summary of changes:
gnucash/html/gnc-html-webkit2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-patches
mailing list