Mercurial > hg > vamp-plugin-sdk
comparison vamp-sdk/PluginAdapter.cpp @ 40:ae3e47e76d2d
* Add plugin path traversal and plugin listing option to vamp-simple-host
* Add more notes on plugin lookup and categorisation
author | cannam |
---|---|
date | Mon, 09 Oct 2006 12:45:14 +0000 |
parents | db01ce9e7657 |
children | be8fdfe25693 |
comparison
equal
deleted
inserted
replaced
39:46c39790588b | 40:ae3e47e76d2d |
---|---|
408 #endif | 408 #endif |
409 | 409 |
410 if (desc->name) free((void *)desc->name); | 410 if (desc->name) free((void *)desc->name); |
411 if (desc->description) free((void *)desc->description); | 411 if (desc->description) free((void *)desc->description); |
412 if (desc->unit) free((void *)desc->unit); | 412 if (desc->unit) free((void *)desc->unit); |
413 for (unsigned int i = 0; i < desc->binCount; ++i) { | 413 if (desc->hasFixedBinCount && desc->binNames) { |
414 free((void *)desc->binNames[i]); | 414 for (unsigned int i = 0; i < desc->binCount; ++i) { |
415 if (desc->binNames[i]) { | |
416 free((void *)desc->binNames[i]); | |
417 } | |
418 } | |
415 } | 419 } |
416 if (desc->binNames) free((void *)desc->binNames); | 420 if (desc->binNames) free((void *)desc->binNames); |
417 free((void *)desc); | 421 free((void *)desc); |
418 } | 422 } |
419 | 423 |