diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-12-18 18:09:47 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-12-18 18:09:47 +0000 |
commit | 1e2abb48c0e3a735e666124e96090c367bc30544 (patch) | |
tree | bab5b0aa41d18c202eee2c6c8c0b52a061d5c2dd | |
parent | 6e2e285142895f3ed4b7e5b99ff1595092d84969 (diff) | |
download | dm-1e2abb48c0e3a735e666124e96090c367bc30544.tar.gz dm-1e2abb48c0e3a735e666124e96090c367bc30544.zip |
Fix pointer dereference?
-rw-r--r-- | mtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ mt_table* mt_create() printf("Cannot allocate mem for mt_table\n"); return NULL; } - memset(mt,0,sizeof(mt)); + memset(mt,0,sizeof(mt_table)); mt->table = darr_create( sizeof(mt_range), 100 ); if (mt->table == NULL) |