Fix r_sign_delete()

This commit is contained in:
Roi Martin 2017-03-12 00:49:20 +00:00
parent 3f89eec3b0
commit 9e9e30fb1a

View File

@ -163,7 +163,7 @@ R_API bool r_sign_delete(RAnal *a, const char *name) {
sdb_reset (a->sdb_zigns);
return true;
} else {
snprintf (ctx.buf, R_SIGN_KEY_MAXSZ, "zign.%d", a->zign_spaces.space_idx);
snprintf (ctx.buf, R_SIGN_KEY_MAXSZ, "zign|%d|", a->zign_spaces.space_idx);
ctx.anal = a;
sdb_foreach (a->sdb_zigns, zignDeleteCB, &ctx);
return true;