We have a memory leak of QGeoPositionInfoSource in qt port of geolocation. Default values of attributes (QGeoCoordinate) are set to "0.0" which is a valid number for few properties. Leave default value to the caller function.
Created attachment 62179 [details] patch Fixes memory leak and default values set to attributes.
Comment on attachment 62179 [details] patch where sit he leak fix?
(In reply to comment #2) > (From update of attachment 62179 [details]) > where sit he leak fix? Thanks for the review, +++ WebCore/platform/qt/GeolocationServiceQt.cpp (working copy) @@ -55,6 +55,7 @@ GeolocationServiceQt::~GeolocationServiceQt() { + delete m_location;
Comment on attachment 62179 [details] patch Clearing flags on attachment: 62179 Committed r63819: <http://trac.webkit.org/changeset/63819>
All reviewed patches have been landed. Closing bug.
Revision r63819 cherry-picked into qtwebkit-2.1 with commit f63e272bc955d7c6685fb9853348ed3c07de6358