aboutsummaryrefslogtreecommitdiff
path: root/src/common/util_bug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util_bug.c')
-rw-r--r--src/common/util_bug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util_bug.c b/src/common/util_bug.c
index 08aba47974..c7bfdefe80 100644
--- a/src/common/util_bug.c
+++ b/src/common/util_bug.c
@@ -44,7 +44,7 @@ static void
add_captured_bug(const char *s)
{
--n_bugs_to_capture;
- smartlist_add(bug_messages, tor_strdup(s));
+ smartlist_add_strdup(bug_messages, s);
}
/** Set a callback to be invoked when we get any tor_bug_occurred_
* invocation. We use this in the unit tests so that a nonfatal