From: Eric Bollengier Date: Wed, 11 Nov 2009 11:25:52 +0000 (+0100) Subject: fix segfault on redhat4 X-Git-Tag: Release-5.0.0~270 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9cdde920b381926f78992796aa74d4a0b0a90c7b;p=bacula%2Fbacula fix segfault on redhat4 --- diff --git a/bacula/src/cats/sql_get.c b/bacula/src/cats/sql_get.c index 55d9818496..5157b87c46 100644 --- a/bacula/src/cats/sql_get.c +++ b/bacula/src/cats/sql_get.c @@ -1224,9 +1224,9 @@ bool db_get_base_file_list(JCR *jcr, B_DB *mdb, bool db_get_base_jobid(JCR *jcr, B_DB *mdb, JOB_DBR *jr, JobId_t *jobid) { + POOL_MEM query(PM_FNAME); char date[MAX_TIME_LENGTH]; int64_t id = *jobid = 0; - POOL_MEM query(PM_FNAME); // char clientid[50], filesetid[50];