That's a [flowering quince, a chaenomeles][1]flowering quince, a chaenomeles, sometimes also called Japanese quince. With just one picture (apparently not even from your plant?) and various hybrids on the market I couldn't say exactly which variety, but the little apples will turn yellow in fall and are edible. [1]: https://en.m.wikipedia.org/wiki/Chaenomeles