]> git.sur5r.net Git - bacula/bacula/commit
Use SMARTALLOC+memset instead of overload new/delete that doesn't work in bat
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 12 Aug 2010 13:20:08 +0000 (15:20 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 2 Sep 2010 13:52:36 +0000 (15:52 +0200)
commit46d681e7c561a3afc0da6f8d488ea574052f8409
treeb12f20be804d41d04100376f32d13687aaab2e3d
parent089ffeb330bf0f780a0dc4ffda9b9e0957ddbba9
Use SMARTALLOC+memset instead of overload new/delete that doesn't work in bat

The global overload of new/delete in smartalloc.h crashes bat (seems
to be incompatible with QT)

I added memset(0) in default SMARTALLOC class, and now DEVICE uses it.
bacula/src/lib/smartall.h
bacula/src/stored/dev.c
bacula/src/stored/dev.h