Skip to content

Commit

Permalink
mem: proper field name for shm malloc unsafe define when memory debug…
Browse files Browse the repository at this point in the history
…ging is off

- reported by Juha Heinanen
  • Loading branch information
miconda committed Sep 15, 2015
1 parent 5d50171 commit de12775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem/shm.h
Expand Up @@ -62,7 +62,7 @@ extern sr_shm_api_t _shm_root;
_SRC_FUNCTION_, _SRC_LINE_)
#else
# define shm_malloc(s) _shm_root.xmalloc(_shm_root.mem_block, (s))
# define shm_malloc_unsafe(s) _shm_root.xmalloc_safe(_shm_root.mem_block, (s))
# define shm_malloc_unsafe(s) _shm_root.xmalloc_unsafe(_shm_root.mem_block, (s))
# define shm_realloc(p, s) _shm_root.xrealloc(_shm_root.mem_block, (p), (s))
# define shm_resize(p, s) _shm_root.xresize(_shm_root.mem_block, (p), (s))
# define shm_free(p) _shm_root.xfree(_shm_root.mem_block, (p))
Expand Down

0 comments on commit de12775

Please sign in to comment.