Skip to content

Commit

Permalink
Merge pull request #4493 from telefonicaid/checkvalgrind-3.11.0-rc
Browse files Browse the repository at this point in the history
Valgrind regression for 3.11.0 + fixes
  • Loading branch information
mapedraza authored Jan 26, 2024
2 parents d3aa3e5 + 340b4ee commit 9a895d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/apiTypesV2/Subscription.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ struct Subject
*
* Subscription -
*/
struct Subscription
class Subscription
{
public:
std::string id;
std::string description;
bool descriptionProvided;
Expand All @@ -164,6 +165,10 @@ struct Subscription
std::string toJson();
void release();

Subscription():
attrsFormat(NGSI_V2_NORMALIZED)
{}

~Subscription();
};

Expand Down

0 comments on commit 9a895d8

Please sign in to comment.