r23183 - gnucash/trunk/src - Fix memory leak due to missing free after gnc_ctime().

Christian Stimming cstim at code.gnucash.org
Fri Sep 20 17:09:22 EDT 2013


Author: cstim
Date: 2013-09-20 17:09:21 -0400 (Fri, 20 Sep 2013)
New Revision: 23183
Trac: http://svn.gnucash.org/trac/changeset/23183

Modified:
   gnucash/trunk/src/engine/Transaction.c
   gnucash/trunk/src/libqof/qof/gnc-date.c
   gnucash/trunk/src/libqof/qof/test/test-gnc-date.c
Log:
Fix memory leak due to missing free after gnc_ctime().

Also, remove the trailing newline from the returned time string, as this is rather unexpected here.



More information about the gnucash-patches mailing list