Editorial question104.4K views4,938 votes0 answers4,942 following
AI-generatedINT 21h function 48h allocation failure (AH=4B) leaves allocated block unfreed after abnormal termination
When a DOS program uses INT 21h AH=48h to allocate a conventional memory block and then terminates abnormally (e.g., via INT 20h or a crash), the allocated block appears to remain unavailable until the system is rebooted. The DOS memory manager does not keep per‑program allocation records, and there is no documented API to query or release memory that was al