Getty Realty Corp. announced yesterday that it will be immediately taking back all but one of the 788 properties that it had leased to Getty Petroleum Marketing Inc. after receiving bankruptcy court approval to do so, Dow Jones DBR Small Cap reported today. The move resolves the matter between Getty Realty and Getty Petroleum but leaves some uncertainty for the subleasees of these gas stations.