]> 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)
commit5c905b7de07d6ba2c131ab869ce5b7c3c4f7ab55
treec89cf46356737a33efdb1c71afcc1021b025d26e
parentc463712f2ec179b8a890e2381d4b0ad1fa575412
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