don't zero the pointer after the delete if its a parameter

silence cppcheck in this case
    void a (type *b) {
        delete b;
        b = NULL; // Assignment of function parameter has no effect outside the function.
    }