diff options
| author | Michael Brown | 2007-01-15 10:08:40 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-15 10:08:40 +0100 |
| commit | 1f92c6b3e8b885fb22635d19a90f97fda2a9428a (patch) | |
| tree | 0f8344868bf1011e63f8eb3853e07220338d7a78 /src | |
| parent | Unmaintained example code is probably worse than useless. (diff) | |
| download | ipxe-1f92c6b3e8b885fb22635d19a90f97fda2a9428a.tar.gz ipxe-1f92c6b3e8b885fb22635d19a90f97fda2a9428a.tar.xz ipxe-1f92c6b3e8b885fb22635d19a90f97fda2a9428a.zip | |
Must free http on the error path; nothing else will do it
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/tcp/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c index dfa39f537..346f5a83c 100644 --- a/src/net/tcp/http.c +++ b/src/net/tcp/http.c @@ -424,5 +424,6 @@ int http_get ( struct uri *uri, struct buffer *buffer, struct async *parent ) { err: DBGC ( http, "HTTP %p could not create request: %s\n", http, strerror ( rc ) ); + free ( http ); return rc; } |
