iotaledger / entangled

enTangle'd is an amalgamation of all things Tangle
Apache License 2.0
113 stars 66 forks source link

common: return NULL if out of memory occurs #1287

Closed howjmay closed 5 years ago

howjmay commented 5 years ago

if OOM occurs, the code would not leave transaction_new(), instead, it initialized the value of iota_transaction_t object