xLite icon indicating copy to clipboard operation
xLite copied to clipboard

Lint: Static Field Leaks: possible memory leak due to improper use of static fields

Open emigenix opened this issue 7 years ago • 0 comments

Lint gives us 3 errors for improper use of static fields, which may cause memory leaks. The files implicated are:

# ../../src/main/java/zz/snsn/xlite/util/MSDServiceHelperCreator.java:18
# ../../src/main/java/zz/snsn/xlite/util/MsdDatabaseManager.java:15
# ../../src/main/java/zz/snsn/xlite/util/MsdLog.java:25

It's possible these are of no importance, but memory leaks should be avoided at all costs. Also, the DataBaseManager is a special multi-threaded implementation so a fix may be difficult.

emigenix avatar Apr 17 '17 16:04 emigenix