view osdep/mmap_anon.h @ 21776:f43ed7e03b06

Fix double free of *http_hdr at server error. In http.c::http_streaming_start() *http_hdr is allocated then assigned to stream->streaming_ctrl->data if server returns error *http_hdr is freed before function returns. However the copy in ->data remains and is later freed (again) by network.c::streaming_ctrl_free().
author iive
date Sat, 30 Dec 2006 13:23:39 +0000
parents 2de480457872
children d88f5f82826e
line wrap: on
line source

#ifndef _OSDEP_MMAP_ANON_H_
#define _OSDEP_MMAP_ANON_H_

#include <sys/types.h>

void *mmap_anon(void *, size_t, int, int, off_t);

#endif /* _OSDEP_MMAP_ANON_H_ */