On 15.03.2026 15:59, Aadhya R wrote:
Replace standard C memory allocators with GLib functions to safely handle 
out-of-memory aborts. Resolves GitLab issue #1798.


-  hash_buf = malloc (sizeof (* hash_buf) * num_opcodes);
+  hash_buf = g_malloc(sizeof(*hash_buf) * num_opcodes);

This one is a good candicate for g_new(), not g_malloc().  FWIW.

/mjt

Reply via email to