ssa_plugin.c: fixing memory allocation issues for ssa_db structure

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal.rosenstock@gmail.com>