summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_vm_dump.c
diff options
context:
space:
mode:
authorjaortega <jaortega>2000-12-01 23:35:35 +0000
committerjaortega <jaortega>2000-12-01 23:35:35 +0000
commit99cc30339d9cb98b240a6e0ef59c333fe3194018 (patch)
tree925888afb5390b55b38345846b5a06084c92de35 /mixlib/mix_vm_dump.c
parent6861d82f0bca390a95609d548146f6629bde264f (diff)
downloadmdk-99cc30339d9cb98b240a6e0ef59c333fe3194018.tar.gz
mdk-99cc30339d9cb98b240a6e0ef59c333fe3194018.tar.bz2
removed checks for null pointer after g_new ()
Diffstat (limited to 'mixlib/mix_vm_dump.c')
-rw-r--r--mixlib/mix_vm_dump.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mixlib/mix_vm_dump.c b/mixlib/mix_vm_dump.c
index 33b5c38..c77e90b 100644
--- a/mixlib/mix_vm_dump.c
+++ b/mixlib/mix_vm_dump.c
@@ -40,8 +40,6 @@ mix_dump_context_new(gint fd, mix_address_t begin, mix_address_t end,
if ( end >= MEM_CELLS_NO_ ) end = MEM_CELLS_NO_;
result = g_new (mix_dump_context_t,1);
- g_return_val_if_fail (result != NULL, NULL);
-
result->options = options;
result->begin = begin;
result->end = end;