Update double-free.md

A slight typo here probably. Printing i1 would always result in the same address regardless of the double free.
This commit is contained in:
hoangprod 2024-08-11 21:21:59 -04:00 committed by GitHub
parent 495183ab52
commit e234a234ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,7 @@ int main() {
printf("g1: %p\n", (void *)g1);
printf("h1: %p\n", (void *)h1);
printf("i1: %p\n", (void *)i1);
printf("i2: %p\n", (void *)i1);
printf("i2: %p\n", (void *)i2);
return 0;
}