… | … | ||
---|---|---|---|
32 | # include <sys/un.h> | 32 | # include <sys/un.h> |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | refcounted::refcounted (const char *id) | 35 | refcounted::refcounted (const char *id) |
36 | { | 36 | { |
37 | this->id = STRDUP (id); | 37 | this->id = strdup (id); |
38 | } | 38 | } |
39 | 39 | ||
40 | refcounted::~refcounted () | 40 | refcounted::~refcounted () |
41 | { | 41 | { |
42 | free (id); | 42 | free (id); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |