]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix regression in smart_alist.
authorRadosław Korzeniewski <radoslaw@korzeniewski.net>
Fri, 15 Oct 2021 13:44:37 +0000 (15:44 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:56 +0000 (13:56 +0200)
bacula/src/plugins/fd/pluginlib/smartalist.h

index 0326be4c5436bd852d8bfb8164483e49614252af..d50528742d9a00c58ebc6ce88640cee5a17ed37b 100644 (file)
@@ -106,6 +106,8 @@ public:
    smart_alist(int num = 10) : alist(num, not_owned_by_alist) {}
    ~smart_alist() { _destroy(); }
 
+   inline void smart_destroy() { _destroy(); }
+
    // This is a simple copy operator
    // it requires a T(T*) constructor to work correctly
    inline smart_alist<T> &operator=(const smart_alist<T> &other)