Unverified Commit c47cbe5f authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub
Browse files

Merge pull request #2110 from yafshar/kim

Explicitly set the pValue pointer to NULL.
parents 5e3fe197 4d237f66
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -464,7 +464,8 @@ void kimProperty::command(int narg, char **arg)
        error->one(FLERR, "Error Python `kim_property_dump` function "
                          "evaluation failed!");
      }
    }
    } else
      pValue = NULL;

    // Destroy the variable
    kim_str_cmd[1] = const_cast<char *>("delete");