aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-18 14:42:02 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-02-18 14:42:02 +0530
commitaad6e5648b0d171a93d57c5a6b7cdb38d42dd70e (patch)
treed312d186fb503c169a0363c23bfa2077f616eda0 /env.cpp
parent8f1423946fd3ab9d5bca168de7fb12b9c397b034 (diff)
Fix for properly removing universal variable.
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/env.cpp b/env.cpp
index b90e3d6d..936729b9 100644
--- a/env.cpp
+++ b/env.cpp
@@ -693,7 +693,7 @@ void env_destroy()
{
has_changed = 1;
}
-
+
delete entry;
}
@@ -1454,7 +1454,6 @@ void env_pop()
{
has_changed = 1;
}
-
delete entry;
}