]> git.tuebingen.mpg.de Git - adu.git/commit - adu.c
remove memory leak in scan_dir()
authorSebastian Stark <stark@ranga.kyb.local>
Tue, 20 May 2008 15:22:00 +0000 (17:22 +0200)
committerSebastian Stark <stark@ranga.kyb.local>
Tue, 20 May 2008 15:22:00 +0000 (17:22 +0200)
commit75d0800df841a2fd0da1fb6a7e818b3534b22db3
tree0c53d96e78f66e8277aa348b3784264a3e53f64c
parentdf32293ac0a021f4d46c924e842c2d89a2463ae6
remove memory leak in scan_dir()

the tmp pointer is used only for directory entries. However, it was allocated
unconditionally and was not freed in case of regular files.
adu.c