summaryrefslogtreecommitdiff
path: root/ticket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ticket.c')
-rw-r--r--ticket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ticket.c b/ticket.c
index 34fd7bb..88da33c 100644
--- a/ticket.c
+++ b/ticket.c
@@ -235,8 +235,6 @@ static size_t history_l_handler(void *contents, size_t size, size_t nmemb
strtok_r(line, ":", &tokensaveptr);
token = strtok_r(NULL, ":", &tokensaveptr);
- ticket_history->description = malloc(strlen(token));
- strcpy(ticket_history->description, ++token);
line = strtok_r(NULL, "\n", &linesaveptr);
strtok_r(line, ":", &tokensaveptr);