#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int *poin = malloc(4);
free(poin);
}
use std::mem::c::{malloc, free}
fn main() {
let mut ptr = malloc(8)
free(ptr)
ptr = nil
}
Languages with Manual Memory Management include C, C3, progsbase, Dale, Jule, Aardvark
Languages without Manual Memory Management include Speedie
View all concepts with or missing a hasManualMemoryManagement measurement
Read more about Manual Memory Management on the web: 1.