[Gnucash-changes] fix really trite memory leak

Derek Atkins warlord at MIT.EDU
Sun Jul 4 13:27:36 EDT 2004


unfortunately this isn't compiling:

Linas Vepstas <linas at cvs.gnucash.org> writes:

>      g_string_sprintfa (gs, " gnc_numeric: %s",
> -                       gnc_numeric_to_string (pdata->amount));
> +                       gnc_num_dbg_to_string (pdata->amount));
>      return;

I get:

qofquery.c: In function `qof_query_printValueForParam':
qofquery.c:1704: warning: implicit declaration of function `gnc_num_dbg_to_string'
qofquery.c:1704: warning: format argument is not a pointer (arg 3)

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list