>>691
ぎゃふん (;´Д`) そこまで示さないとダメですか

for(i=0; i<1000; ++i){
  for(j=0; j<10; ++j){
    free(a[i][j]);
  }
  free(a[i]);
}
free(a);