summaryrefslogtreecommitdiff
path: root/libproxy/modules
diff options
context:
space:
mode:
authornicolas.dufresne <nicolas.dufresne@c587cffe-e639-0410-9787-d7902ae8ed56>2010-07-23 19:31:04 +0000
committernicolas.dufresne <nicolas.dufresne@c587cffe-e639-0410-9787-d7902ae8ed56>2010-07-23 19:31:04 +0000
commit3ccd7535062fa36624cce18e0693791085351ece (patch)
tree5fdbdf1f235c68a4f9ecb06afd8f3609c78407a2 /libproxy/modules
parent88ba2a0b6d51fec41f8b2ad2f6e9443e47a881e9 (diff)
downloadlibproxy-3ccd7535062fa36624cce18e0693791085351ece.tar.gz
Fix wrong delete operator in config_gnome
git-svn-id: http://libproxy.googlecode.com/svn/trunk@715 c587cffe-e639-0410-9787-d7902ae8ed56
Diffstat (limited to 'libproxy/modules')
-rw-r--r--libproxy/modules/config_gnome.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libproxy/modules/config_gnome.cpp b/libproxy/modules/config_gnome.cpp
index 8553f2a..690b7a3 100644
--- a/libproxy/modules/config_gnome.cpp
+++ b/libproxy/modules/config_gnome.cpp
@@ -297,7 +297,7 @@ static base_extension** gnome_config_extension_init() {
return retval;
}
catch (runtime_error) {
- delete retval;
+ delete[] retval;
return NULL;
}
}