projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[yaz-moved-to-github.git]
/
odr
/
odr_bit.c
diff --git
a/odr/odr_bit.c
b/odr/odr_bit.c
index
25edfa0
..
46d7e2e
100644
(file)
--- a/
odr/odr_bit.c
+++ b/
odr/odr_bit.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: odr_bit.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: odr_bit.c,v $
- * Revision 1.6 1995-03-08 12:12:19 quinn
+ * Revision 1.7 1995-03-17 10:17:48 quinn
+ * Added memory management.
+ *
+ * Revision 1.6 1995/03/08 12:12:19 quinn
* Added better error checking.
*
* Revision 1.5 1995/02/10 18:57:25 quinn
* Added better error checking.
*
* Revision 1.5 1995/02/10 18:57:25 quinn
@@
-55,7
+58,7
@@
int odr_bitstring(ODR o, Odr_bitmask **p, int opt)
}
if (o->direction == ODR_DECODE)
{
}
if (o->direction == ODR_DECODE)
{
- *p = nalloc(o, sizeof(Odr_bitmask));
+ *p = odr_malloc(o, sizeof(Odr_bitmask));
memset((*p)->bits, 0, ODR_BITMASK_SIZE);
(*p)->top = -1;
}
memset((*p)->bits, 0, ODR_BITMASK_SIZE);
(*p)->top = -1;
}