Browse Source

leak fix

nfactor-troky
nelisky 13 years ago
parent
commit
3067a414fc
  1. 2
      libztex.c

2
libztex.c

@ -408,7 +408,7 @@ int libztex_scanDevices (struct libztex_dev_list*** devs_p) {
devs[pos]->dev = ztex; devs[pos]->dev = ztex;
devs[pos]->next = NULL; devs[pos]->next = NULL;
if (pos > 0) { if (pos > 0) {
devs[pos]->next = devs[pos]; devs[pos-1]->next = devs[pos];
} }
pos++; pos++;
} }

Loading…
Cancel
Save