Skip to content

Commit d0ef178

Browse files
olszomalmtrojnar
authored andcommitted
Remove redundant NULL assignments, CID 1669015
1 parent e126ab3 commit d0ef178

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pe.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,6 @@ static u_char *pe_page_hash_calc(int *rphlen, FILE_FORMAT_CTX *ctx, int phtype)
10851085
return NULL; /* FAILED */
10861086
}
10871087
BIO_free_all(bhash);
1088-
bhash = NULL;
10891088

10901089
for (i = 0; i < (int)nsections; i++) {
10911090
/* SizeOfRawData and PointerToRawData from section header */
@@ -1177,7 +1176,6 @@ static u_char *pe_page_hash_calc(int *rphlen, FILE_FORMAT_CTX *ctx, int phtype)
11771176
return NULL; /* FAILED */
11781177
}
11791178
BIO_free_all(bhash);
1180-
bhash = NULL;
11811179
}
11821180
lastpos = ro + rs;
11831181
sections += 40;

0 commit comments

Comments
 (0)