Index: trunk/src_plugins/report/report.c =================================================================== --- trunk/src_plugins/report/report.c (revision 2394) +++ trunk/src_plugins/report/report.c (revision 2395) @@ -456,7 +456,7 @@ break; } case NO_TYPE: - report[0] = '\0'; + report = NULL; break; default: @@ -468,9 +468,12 @@ Message(_("Nothing found to report on\n")); return 1; } - /* create dialog box */ - gui->report_dialog("Report", report); - free(report); + + if (report != NULL) { + /* create dialog box */ + gui->report_dialog("Report", report); + free(report); + } return 0; }