From: Eric Bollengier Date: Wed, 11 Nov 2009 11:25:52 +0000 (+0100) Subject: fix segfault on redhat4 X-Git-Tag: Release-7.0.0~2587 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eaf3f572f61b838e7921f20c42b7d0df8d8928aa;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];