summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarat Nepomnyashy <marat@vyatta.com>2008-01-03 18:59:42 -0800
committerMarat Nepomnyashy <marat@vyatta.com>2008-01-03 18:59:42 -0800
commit023345523bf921bfaf3da257b21e2f130c91bbe7 (patch)
treedb0bd18262eb3e8e4a3d176a7affd97e68faaf25 /src
parent019679fed5e2c45f443bb6127f48521311d3d6b9 (diff)
downloadvyatta-op-vpn-023345523bf921bfaf3da257b21e2f130c91bbe7.tar.gz
vyatta-op-vpn-023345523bf921bfaf3da257b21e2f130c91bbe7.zip
Fix for infinite loop.
Diffstat (limited to 'src')
-rw-r--r--src/command_proc_show_vpn.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command_proc_show_vpn.cc b/src/command_proc_show_vpn.cc
index e36c5d8..328f25d 100644
--- a/src/command_proc_show_vpn.cc
+++ b/src/command_proc_show_vpn.cc
@@ -128,6 +128,7 @@ CommandProcShowVPN::~CommandProcShowVPN()
while (i != iEnd) {
delete *i;
*i = NULL;
+ i++;
}
}