From c54d47775818f19297e03e2f1b1b0031d77878fb Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 30 Jun 2007 20:57:40 +0000 Subject: Hrm. Memleaks still not plugged correctly. Reverting. --- hardinfo2/arch/common/printers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2/arch/common') diff --git a/hardinfo2/arch/common/printers.h b/hardinfo2/arch/common/printers.h index e2ab1656..fad80f25 100644 --- a/hardinfo2/arch/common/printers.h +++ b/hardinfo2/arch/common/printers.h @@ -73,7 +73,7 @@ __scan_printers(void) printer_list = g_strdup_printf("%s\n" "$PRN%d$" "%s=%s\n", - (char*)idle_free(printer_list), + printer_list, i, printers[i], g_str_equal(default_printer, printers[i]) ? -- cgit v1.2.3