[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getmntent?
From: |
Phillip Partridge |
Subject: |
getmntent? |
Date: |
Tue, 9 Jan 2001 17:04:40 +0100 (CET) |
Hello,
Sorry if this is not a bug, it is just that I am working on a piece of
code and when I used dmalloc, I get the following report.
alloc calls: malloc 2, calloc 0, realloc 0, free 1
not freed: '0x808f008|s1' (4096 bytes) from 'ra=0x400c7b8c'
Here is the code snippet that causes the above.
struct mntent *mnt_entry;
FILE *fp;
if((fp = setmntent(MOUNTED, "r")))
{
while((mnt_entry = getmntent(fp)))
;
endmntent(fp);
}
Regards,
Phillip
- getmntent?,
Phillip Partridge <=