Bug 1360560 - Add destructor to nsRemoteClient, r?jhorak"
Create nsRemoteClient pointer as a base class pointer to X11/DBus implementations.
MozReview-Commit-ID: 3CpkDey6rLU
--- a/widget/xremoteclient/nsRemoteClient.h
+++ b/widget/xremoteclient/nsRemoteClient.h
@@ -12,16 +12,18 @@
/**
* Pure-virtual common base class for remoting implementations.
*/
class nsRemoteClient
{
public:
+ virtual ~nsRemoteClient() {};
+
/**
* Initializes the client
*/
virtual nsresult Init() = 0;
/**
* Send a complete command line to a running instance.
*