1
0
Fork 0
This commit is contained in:
Jan Steemann 2015-09-08 15:16:10 +02:00
parent 18963d635c
commit 5865ca7955
1 changed files with 2 additions and 2 deletions

View File

@ -187,11 +187,11 @@ void TRI_AddFailurePointDebugging (char const* value) {
return;
}
TRI_Free(TRI_CORE_MEM_ZONE, FailurePoints);
memcpy(copy, FailurePoints, strlen(FailurePoints));
memcpy(copy + strlen(FailurePoints) - 1, checkValue, n);
copy[strlen(FailurePoints) + n - 1] = '\0';
TRI_Free(TRI_CORE_MEM_ZONE, FailurePoints);
}
FailurePoints = copy;