custom-malloc
                                
                                
                                
                                    custom-malloc copied to clipboard
                            
                            
                            
                        Shouldn't the first chunk start with available == 1?
I'm using your code for a project and it seems like the first chunk is marked as not available, which causes the first allocation request to fail.
Should head->available = 0;  on line 189 be head->available = 1; ?
Thanks!