]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dev.h
Use SMARTALLOC+memset instead of overload new/delete that doesn't work in bat
[bacula/bacula] / bacula / src / stored / dev.h
index 8d6abadf1a33a290fa77fd3d994dda1581815ae8..55b5998346e12011548e0755b6f1f87229825036 100644 (file)
@@ -206,7 +206,7 @@ class VOLRES; /* forward reference */
  *  each physical device. Everything here is "global" to
  *  that device and effects all jobs using the device.
  */
-class DEVICE {
+class DEVICE: public SMARTALLOC {
 protected:
    int m_fd;                          /* file descriptor */
 private: