Geometry string parsing has been moved to a separate member function of the
Geometry class. Also, a memory leak has been fixed.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2679 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/x0vncserver/Geometry.h b/unix/x0vncserver/Geometry.h
index fdd9033..48ba228 100644
--- a/unix/x0vncserver/Geometry.h
+++ b/unix/x0vncserver/Geometry.h
@@ -41,6 +41,8 @@
   const Rect& getRect() const { return m_rect; }
 
 protected:
+  Rect parseString(const char *arg) const;
+
   static StringParameter m_geometryParam;
 
   Rect m_rect;