Code calls xfree() instead of free().
[idzebra-moved-to-github.git] / rset / rsisamc.c
index cc3bf0e..b67839f 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: rsisamc.c,v $
- * Revision 1.1  1996-10-29 13:41:48  adam
+ * Revision 1.3  1997-10-31 12:37:01  adam
+ * Code calls xfree() instead of free().
+ *
+ * Revision 1.2  1996/11/08 11:15:57  adam
+ * Compressed isam fully supported.
+ *
+ * Revision 1.1  1996/10/29 13:41:48  adam
  * First use of isamc.
  *
  */
@@ -96,7 +102,7 @@ static void r_close (RSFD rfd)
         {
             isc_pp_close ((*ptinfop)->pt);
             *ptinfop = (*ptinfop)->next;
-            free (rfd);
+            xfree (rfd);
             return;
         }
     logf (LOG_FATAL, "r_close but no rfd match!");
@@ -125,7 +131,7 @@ static int r_count (RSET ct)
 
 static int r_read (RSFD rfd, void *buf)
 {
-    return isc_read_key( ((struct rset_pp_info*) rfd)->pt, buf);
+    return isc_pp_read( ((struct rset_pp_info*) rfd)->pt, buf);
 }
 
 static int r_write (RSFD rfd, const void *buf)