]> granicus.if.org Git - pdns/commitdiff
uninitialized var in goracle backend
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 1 Jan 2014 08:12:17 +0000 (09:12 +0100)
committermind04 <mind04@monshouwer.org>
Wed, 1 Jan 2014 09:14:08 +0000 (10:14 +0100)
modules/goraclebackend/soracle.cc

index 80ffc5f20a7905207886a1b8652f694dc5cf4272..02de4124d5a1d6de65eaa74be534fc71f2a9662f 100644 (file)
@@ -45,6 +45,7 @@ SOracle::SOracle(const string &database,
    d_environmentHandle = NULL;
    d_errorHandle = NULL;
    d_serviceContextHandle = NULL;
+   d_handle = NULL;
    
    int err = OCIInitialize(OCI_THREADED, 0,  NULL, NULL, NULL);
    if (err) {