fix some grossness in the logic operations (genAnd, genOr, genXor)
[fw/sdcc] / src / SDCChasht.c
index e33f08cb28a9c0c9b5c141557078cc015247eb09..cc467afd7f928a19b799849e75d82e67c1feb816 100644 (file)
@@ -557,7 +557,7 @@ shash_add (hTab ** h, const char *szKey, const char *szValue)
   /* First, delete any that currently exist */
   hTabDeleteByKey (h, key, szKey, _compare);
   /* Now add in ours */
-  hTabAddItemLong (h, key, gc_strdup (szKey), gc_strdup (szValue));
+  hTabAddItemLong (h, key, Safe_strdup (szKey), Safe_strdup (szValue));
 }
 
 const char *