These were allocated with c lib functions, not AllocVec

This commit is contained in:
Chris Young 2012-11-11 23:05:25 +00:00
parent adcbfb9789
commit 967d22afe5
1 changed files with 5 additions and 5 deletions

View File

@ -356,19 +356,19 @@ void ami_gui_opts_free(void)
int i;
for(i = 0; i < OPTS_LAST; i++)
if(gadlab[i]) FreeVec((APTR)gadlab[i]);
if(gadlab[i]) free((APTR)gadlab[i]);
for(i = 0; i < OPTS_MAX_TABS; i++)
if(tabs[i]) FreeVec((APTR)tabs[i]);
if(tabs[i]) free((APTR)tabs[i]);
for(i = 0; i < OPTS_MAX_SCREEN; i++)
if(screenopts[i]) FreeVec((APTR)screenopts[i]);
if(screenopts[i]) free((APTR)screenopts[i]);
for(i = 0; i < OPTS_MAX_PROXY; i++)
if(proxyopts[i]) FreeVec((APTR)proxyopts[i]);
if(proxyopts[i]) free((APTR)proxyopts[i]);
for(i = 0; i < OPTS_MAX_NATIVEBM; i++)
if(nativebmopts[i]) FreeVec((APTR)nativebmopts[i]);
if(nativebmopts[i]) free((APTR)nativebmopts[i]);
ami_gui_opts_websearch_free(websearch_list);
}