]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/inflate.c
sdio_uart: Fix SDIO break control to now return success or an error
[linux-2.6-omap-h63xx.git] / lib / inflate.c
index 845f91d3ac1226ad6bee1e87e1fc74169ccd36cf..9762294be06257b6d6e6873dbd6b0503f21029c1 100644 (file)
@@ -811,6 +811,9 @@ DEBG("<dyn");
   ll = malloc(sizeof(*ll) * (286+30));  /* literal/length and distance code lengths */
 #endif
 
+  if (ll == NULL)
+    return 1;
+
   /* make local bit buffer */
   b = bb;
   k = bk;