Skip to content

Commit a6f6ce1

Browse files
committed
Remove memset that was being used for debugging purposes.
1 parent 64dd2f9 commit a6f6ce1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libyara/exec.c

-5
Original file line numberDiff line numberDiff line change
@@ -652,11 +652,6 @@ int yr_execute_code(YR_SCAN_CONTEXT* context)
652652
it_notebook,
653653
sizeof(YR_ITERATOR) + sizeof(SIZED_STRING*) * (size_t) r1.i);
654654

655-
memset(
656-
r3.p,
657-
0xcc,
658-
sizeof(YR_ITERATOR) + sizeof(SIZED_STRING*) * (size_t) r1.i);
659-
660655
if (r3.p == NULL)
661656
{
662657
result = ERROR_INSUFFICIENT_MEMORY;

0 commit comments

Comments
 (0)