Free heap allocations
This commit is contained in:
		| @@ -240,5 +240,7 @@ int main(int argc, char **argv) { | |||||||
| 				break; | 				break; | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|  | 	// Free the memory, just for good measure | ||||||
|  | 	free(memory) | ||||||
| 	return 0; | 	return 0; | ||||||
| } | } | ||||||
		Reference in New Issue
	
	Block a user