{
if(cert_db.ref) {
if(--cert_db.ref == 0)
- sqlite3_close(GET_DB(cert_db));
+ sqlite3_close_v2(GET_DB(cert_db));
return 0;
}
_LOGE("Certificate DB is already closed !!\n");
*label = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
*icon = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
*description = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
p->privilege = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
*label = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
*icon = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
*category = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
*appcontrol = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
*datacontrol = info;
}
+ sqlite3_finalize(stmt);
+
return PMINFO_R_OK;
}
list = g_slist_append(list, appid);
}
+ sqlite3_finalize(stmt);
+
return list;
}