Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(355)

Unified Diff: src/gurl.cc

Issue 9838097: Fix a memory leak; properly initialize inner_parsed before use. (Closed) Base URL: http://google-url.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gurl.h ('k') | src/url_parse.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gurl.cc
===================================================================
--- src/gurl.cc (revision 168)
+++ src/gurl.cc (working copy)
@@ -180,6 +180,10 @@
#endif
}
+GURL::~GURL() {
+ delete inner_url_;
+}
+
GURL& GURL::operator=(const GURL& other) {
spec_ = other.spec_;
is_valid_ = other.is_valid_;
« no previous file with comments | « src/gurl.h ('k') | src/url_parse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698