Commit f213907c authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Don't leak PortListPrivate.



Change-Id: I8ad9a3a3224eb07ebc7d58aa92f1d0194eb57569
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 28844621
......@@ -143,6 +143,11 @@ PortList::PortList(const PortList &other) : d(new Internal::PortListPrivate(*oth
{
}
PortList::~PortList()
{
delete d;
}
PortList &PortList::operator=(const PortList &other)
{
*d = *other.d;
......
......@@ -47,6 +47,7 @@ public:
PortList();
PortList(const PortList &other);
PortList &operator=(const PortList &other);
~PortList();
void addPort(int port);
void addRange(int startPort, int endPort);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment