Revert "httpdinfo: fix resource leak"
authorFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 26 Oct 2012 14:38:16 +0000 (16:38 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 26 Oct 2012 14:38:16 +0000 (16:38 +0200)
This reverts commit 808928830ed65a3d8de80876d00ad78a8cfe540b.

It breaks the httpinfo page serving

lib/httpinfo/src/olsrd_httpinfo.c

index 043b19d..79f01a1 100644 (file)
@@ -537,6 +537,8 @@ send_http_data:
       writetimer_entry = olsr_start_timer(100, 0, OLSR_TIMER_PERIODIC, &httpinfo_write_data, NULL, 0);
     }
   }
+  abuf_free(&body_abuf);
+  return;
 
 close_connection:
   abuf_free(&body_abuf);