]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/res-mem.c
Lizard: Fixed a typo ("occured" -> "occurred')
[libucw.git] / ucw / res-mem.c
index 10cb1d4b33f5ad02e79399c21e953a1eeecfb5f2..caa3a4caae032f1e639130c6452a76d596ca7cac 100644 (file)
@@ -7,8 +7,8 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/respool.h"
+#include <ucw/lib.h>
+#include <ucw/resource.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -44,7 +44,6 @@ res_malloc(size_t size, struct resource **ptr)
 {
   void *p = xmalloc(size);
   struct resource *r = res_new(&mem_res_class, p);
-  ASSERT(r);
   ((struct res_mem *) r) -> size = size;
   if (ptr)
     *ptr = r;