Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bibhas2 authored Dec 11, 2020
1 parent 8e819c2 commit 46ec98c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
##Introduction
## Introduction
This is a very simple memory leak detector for C. It uses the file system
as a database and stores information about any memory that
is allocated in files. As memory is freed these files are deleted.
Any file left behind after the program exists indicates memory leak.

##How to Use
## How to Use

1. Simply include ``mem.h`` from C files where memory
is managed using ``malloc``, ``calloc``, ``realloc`` and ``free``.
Expand Down Expand Up @@ -36,7 +36,7 @@ Line: 7
Size: 10 bytes
```

##Double Free Detection
## Double Free Detection
Both ``free`` and ``realloc`` function will be checked for double free scenario. If a double free is detected you will see message like this in the console:

```text
Expand Down

0 comments on commit 46ec98c

Please sign in to comment.