aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/auto_rng/auto_rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rng/auto_rng/auto_rng.h')
-rw-r--r--src/rng/auto_rng/auto_rng.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rng/auto_rng/auto_rng.h b/src/rng/auto_rng/auto_rng.h
index 9a93fee8f..90f342a50 100644
--- a/src/rng/auto_rng/auto_rng.h
+++ b/src/rng/auto_rng/auto_rng.h
@@ -35,7 +35,6 @@ class BOTAN_DLL AutoSeeded_RNG : public RandomNumberGenerator
{ rng->add_entropy(in, len); }
AutoSeeded_RNG() { rng = &global_state().global_rng(); }
- ~AutoSeeded_RNG() { delete rng; }
private:
RandomNumberGenerator* rng;
};