|
Lines 53-58
Link Here
|
| 53 |
void |
53 |
void |
| 54 |
dlptr_free(struct ptr_data *data) |
54 |
dlptr_free(struct ptr_data *data) |
| 55 |
{ |
55 |
{ |
|
|
56 |
if (!data) |
| 57 |
return; |
| 56 |
if (data->ptr) { |
58 |
if (data->ptr) { |
| 57 |
DEBUG_CODE({ |
59 |
DEBUG_CODE({ |
| 58 |
printf("dlptr_free(): removing the pointer `0x%x' from the MemorySpace\n", |
60 |
printf("dlptr_free(): removing the pointer `0x%x' from the MemorySpace\n", |
|
Lines 69-72
Link Here
|
| 69 |
if (data->stype) dlfree(data->stype); |
71 |
if (data->stype) dlfree(data->stype); |
| 70 |
if (data->ssize) dlfree(data->ssize); |
72 |
if (data->ssize) dlfree(data->ssize); |
| 71 |
if (data->ids) dlfree(data->ids); |
73 |
if (data->ids) dlfree(data->ids); |
|
|
74 |
dlfree(data); |
| 72 |
} |
75 |
} |
| 73 |
void |
76 |
void |